-
-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SideNav should overlay Content in UIShell #1585
base: master
Are you sure you want to change the base?
Conversation
style. This revert back this change and add more consistencies with the `navStore` and classes.
{...$$restProps} | ||
style="{unsetLeftMargin ? 'margin-left: 0;' : ''} {$$restProps.style}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that this should be changed since $$restProps.style
will override the attribute.
When testing this locally, the side nav is not appearing when toggling the hamburger menu. It seems to retain the Repro
side-nav.mov |
You are right my logic and my approach for this problem was wrong. I changed my strategy and took the same approach as React. The main strategy is to take advantage of the |
when side nav was not present.
The text in the docs have more margins because they use grid so it have the double the margins needed.
`rail SideNav`.
e7485c4
to
417102d
Compare
Fixes #1463
The expended class should not be applied when the
sideNav
is below the breaking point. I added thebx--sidenav-fixed
class instead, it seems to works perfectly.Edit :
This PR also fixes the hack ofbx--content
that was set previously.Last commit make more consistencies with the
navStore
and revert themargin-left: 0
hack with newstore
variables.