-
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
DataViews: Reduce the size of action button in Grid layout #67032
Conversation
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +22 B (0%) Total Size: 1.82 MB
ℹ️ View Unchanged
|
Related to #65200
What?
This PR changes the size of the action button in Grid layout from 32px to 24px.
Why?
In #65200, an attempt is made to display long pattern titles in two lines in Grid layout. As part of this, an attempt is also made to reduce the size of the action buttons. However, the current Actions button is hard-coded to a compact (32px) size, so they cannot be resized unless we use CSS.
How?
Add
isSmall
prop to theCompactItemActions
component to change the button size.Testing Instructions
Check the size of the action button in Grid layout.
Screenshots or screencast