Closed jjoseba closed 4 years ago
Hi @jjoseba,
This depends on how the navbar is intended to work.
With your fix, the navigation drawer will cover the left part of the toolbar, which itself may also be an issue.
The permanent navigation drawer is supposed to push the toolbar to the right/left like the rest of the page.
Because a permanent navigation drawer is always visible, you may need to add some custom styles to shift the content of your page to the left or right to accommodate the screen estate being taken up by the drawer.
@sesemaya Thanks for providing that answer and style example. Can those custom styles be added into the main CSS? Short term, How do I add that custom style you shared above? Can it be in a separate file?
When using a toolbar with
.sticky-top
or.fixed-top
class in combination with a navigation drawer using.navbardrawer-permanent
, the drawer shows up behind the toolbar, hidding its top part. It is a problem with the.navbardrawer-permanent
classz-index
(it is set toauto
). In my case I fixed it making a rule that modifies thisz-index
, but I'm not sure if it would apply to all the navigation drawer cases...