Closed jrm-unamur closed 5 years ago
Hi again, If you can confirm the behaviour, here's a css fix
.list-group-item {
&[data-key^="localboostnavigationcustombottom"] {
margin-top: .5rem;
}
&[data-key^="localboostnavigationcustombottom"] ~ [data-key^="localboostnavigationcustombottom"] {
margin-top: 0;
}
}
Cheers
Hi Jean-Roch,
for bottom nodes, there is the rule https://github.com/moodleuulm/moodle-local_boostnavigation/blob/master/styles.css#L67-L71 which adds a gap above them. But I had to see now that this rule is not processed anymore if you add a custom ID attribute to a bottom node as it has the node counter 1 hardcoded.
I have now fixed this based on your excellent proposal in https://github.com/moodleuulm/moodle-local_boostnavigation/commit/0fc8a17350c2a61841ad6f4191735ad0b27bbd88.
Thanks, Alex
Hi Alex, When I add bottom nodes to my site, they show at the end of root nodes but without a separation (gap) over them. In a previous issue, you told me
This doesn't work for me and I cannot find in the code where it should be handled. In the attached image, you can see two extra "root" nodes in the blue box, and two "bottom nodes" in the red one. If all nodes had been defined as extra root nodes, the result would have been the same. Any hint? Cheers Jean-Roch