-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Use css-in-js for styling in navigation component #24522
Conversation
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.
Nice, looking good and a few small comments.
Make sure when clicking the buttons, the full width of the button inside the menu is focused.
Is this a requirement? If not, it could simplify some padding issues.
Thanks for the review, @psealock! Handled your feedback and removed quite a bit of styling to simplify this component further. Ready for another review. |
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.
Nice, I like the simplicity 🚢
* Migrate styles to css-in-js * Add spacing to navigation child items * Remove opinionated styling * Rename styling components
* Migrate styles to css-in-js * Add spacing to navigation child items * Remove opinionated styling * Rename styling components
* Migrate styles to css-in-js * Add spacing to navigation child items * Remove opinionated styling * Rename styling components
Description
Migrates styles from scss to css-in-js using emotion.
Screenshots
Testing
npm run storybook:dev
.Navigation
component renders appropriately matching the design.