-
Notifications
You must be signed in to change notification settings - Fork 5
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
Style Guide Nav Icons & Ordering #357
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.
@@ -22,13 +20,7 @@ export const SgPageShell__navigation = (props) => { | |||
|
|||
return ( | |||
<nav className={classStack} {...attrs}> | |||
<Scrollbars |
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.
Lets leave the custom scroll bars please. This is for Windows users like me who don't get nice fancy thin OSX scroll bars :D
@@ -58,9 +50,9 @@ export const SgPageShell__main = (props) => { | |||
]); | |||
|
|||
return ( | |||
<div className={classStack} {...attrs} role="main" id="sg-main"> | |||
<main className={classStack} {...attrs} role="main" id="sg-main"> |
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.
Is this to fix a console warning?
@@ -86,13 +78,7 @@ export const SgPageShell = (props) => { | |||
|
|||
return ( | |||
<div className={classStack} {...attrs}> | |||
<Scrollbars |
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.
Lets leave the custom scroll bars please. This is for Windows users like me who don't get nice fancy thin OSX scroll bars :D
This PR brings icons to our style guide navigation headings, and re-orders the nav sections to be a bit more intuitive.
Note that some changes were made to the SgPageShell style guide molecule, imported from the same project that the icons were. @drolsen, please be sure to pay special attention to these changes while testing/reviewing.
Motivation and Context
We've implemented these changes on another project and it looked great, so we're bringing it into FC core.
Types of changes
Checklist: