-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: move custom CSS to ellipsis menu if no custom CSS present yet #47371
Conversation
Size Change: -23.7 kB (-2%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
Flaky tests detected in 2556a9b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4038619332
|
69b2335
to
ea23a82
Compare
@richtabor I have reordered the items as suggested. |
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.
Looks good, and works well. Thanks for working on this.
@glendaviesnz I think this is missing the |
What?
Moves the custom CSS to the Global Styles ellipsis menu by default. Once Custom CSS has been added the option appears permanently in the sidebar.
Why?
Fixes: #47266
How?
Checks to see if
styles.css
is undefined and if so only shows Custom CSS in the global styles ellipsis menu.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
custom-css-menu.mp4