Skip to content
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

Merged
merged 3 commits into from
Apr 22, 2020

Conversation

tw15egan
Copy link
Collaborator

Closes #5889

Adds more specificity to selector so that padding is not decreased when icons are present

Changelog

Changed

  • Added check to make sure the selector does not apply to menu items with an icon

Testing / Reviewing

Go to Fixed Sidenav w/ Icons story, add className="bx--side-nav--fixed" to the SideNav component, then view the story and make sure the sub-menu items have 72px of left padding

@tw15egan tw15egan requested a review from a team as a code owner April 20, 2020 19:32
@ghost ghost requested review from asudoh and joshblack April 20, 2020 19:32
@netlify
Copy link

netlify bot commented Apr 20, 2020

Deploy preview for carbon-elements ready!

Built with commit 85c0667

https://deploy-preview-5896--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Apr 20, 2020

Deploy preview for carbon-components-react ready!

Built with commit 85c0667

https://deploy-preview-5896--carbon-components-react.netlify.app

@asudoh asudoh requested review from a team and laurenmrice and removed request for a team April 21, 2020 00:26
Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 - Thanks @tw15egan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UIShell sidenav: submenu indentation wrong when icons and bx--side-nav--fixed
4 participants