-
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
Remove custom padding on style revisions button #51269
Conversation
Size Change: -16 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Thanks for following up @jameskoster! I actually included that padding rule because otherwise the hover state doesn't line up with the save button when there are changes to be saved. On balance I thought perhaps it might be better to optimise for the hover state alignment? Happy to go with your lead here, though! Here's a before and after:
What do you think? |
I think it's more important for the revisions button to share alignment with all the other menu items that appear in the sidebar, rather than have its own custom styling. This will make it consistent with the sticky section in the Pages panel. The mis-alignment of the save button is an issue, but it's a detail to polish separately. |
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.
I'll merge this in now 🙂 |
Follow-up to #51149.
What?
Removes unnecessary padding on the revisions button in the Styles panel
Why?
It was slightly breaking alignment.
Before
After