-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(ui-shell): fix padding when fixed side nav is using icons #5896
Conversation
Deploy preview for carbon-elements ready! Built with commit 85c0667 |
Deploy preview for carbon-components-react ready! Built with commit 85c0667 https://deploy-preview-5896--carbon-components-react.netlify.app |
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.
👍🏻
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.
LGTM 👍 - Thanks @tw15egan!
Closes #5889
Adds more specificity to selector so that padding is not decreased when icons are present
Changelog
Changed
Testing / Reviewing
Go to
Fixed Sidenav w/ Icons
story, addclassName="bx--side-nav--fixed"
to the SideNav component, then view the story and make sure the sub-menu items have 72px of left padding