-
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
Global Styles Sidebar: Fix nav header styles and semantics #40592
Conversation
Size Change: +4 B (0%) Total Size: 1.23 MB
ℹ️ View Unchanged
|
<NavigatorBackButton | ||
style={ | ||
// TODO: This style override is also used in ToolsPanelHeader. | ||
// It should be supported out-of-the-box by Button. |
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.
Good point — it looks like there are already some styles that go in that direction, but they don't seem as comprehensive as they should be
Apart from ToolsPanelHeader
, I also found overrides in BorderControl
.
Definitely something to follow-up with
Part of #38934
Based on #40590
What?
Fixes visual and semantic issues with the navigation header in the Global Styles sidebar.
Why?
listitem
semantics even though this isn't functionally a list. (Addressed in Global Styles Sidebar: RenameNavigationButton
so semantics are clearer #40590)How?
NavigatorBackButton
.✅ Design review was done in #40533
Testing Instructions
npm run dev
Screenshots or screencast
More after shots