-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Administration: Update site icon and media control button styling #8724
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
base: trunk
Are you sure you want to change the base?
Administration: Update site icon and media control button styling #8724
Conversation
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN:
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
These changes look good. Have you checked whether the button-add-site-icon
class is still in use? If that was the only use of that class, then we should be able to remove the related CSS.
((We can't remove button-add-media
, as that's widely used by plugins and themes.)
I'd also like to see more of a compromise design: use the upload button styles, but keep the full width layout and padding.
Hi @joedolson, Thank you for the feedback. I have made the necessary changes and updated the PR please review it at your convenience. Screenshot: |
Some additional changes that I think would help make things more consistent:
These changes are otherwise good! |
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.
Requested changes are noted in a comment; they're less changes to the existing code and more additions that would be helpful.
This PR updates the appearance of the Site Icon and media upload buttons to match their functionality. The previous styling made these elements look like drop areas, confusing when users attempted to drag and drop files onto them, as they only function as clickable buttons.
Trac ticket: #47579
Before
After