-
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
Patterns: Add a title to the category delete flow and increase line height #59645
Conversation
@@ -58,7 +58,7 @@ export default Object.assign( {}, CONTROL_PROPS, TOGGLE_GROUP_CONTROL_PROPS, { | |||
fontSizeMobile: '15px', | |||
fontSizeSmall: 'calc(0.92 * 13px)', | |||
fontSizeXSmall: 'calc(0.75 * 13px)', | |||
fontLineHeightBase: '1.2', | |||
fontLineHeightBase: '1.4', |
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.
This feels like it could have significant impact.
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.
Why not add this as a specific css for the specific ConfirmDialog
we're having a problem with?
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 could do but then it feels like patching over a problem instead of dealing with the root cause.
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 think this should be addressed as a separate change with before/after screenshots, and reviewed by the design team. It indeed will have a big impact and we should ensure it's intentional.
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.
By the way I think it's perfectly reasonable to take the targeted approach that @draganescu is suggesting to address the problem at hand. Fixing this config file is a pretty broad-scope task, potentially with back-compat considerations, so it should be triaged as a separate issue IMO. It shouldn't block this dialog PR.
Size Change: +18 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
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. |
@@ -58,7 +58,7 @@ export default Object.assign( {}, CONTROL_PROPS, TOGGLE_GROUP_CONTROL_PROPS, { | |||
fontSizeMobile: '15px', | |||
fontSizeSmall: 'calc(0.92 * 13px)', | |||
fontSizeXSmall: 'calc(0.75 * 13px)', | |||
fontLineHeightBase: '1.2', | |||
fontLineHeightBase: '1.4', |
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 think this should be addressed as a separate change with before/after screenshots, and reviewed by the design team. It indeed will have a big impact and we should ensure it's intentional.
packages/edit-site/src/components/page-patterns/delete-category-menu-item.js
Outdated
Show resolved
Hide resolved
Thanks for the reviews. I have updated this PR now. |
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 to me 👍
…eight (WordPress#59645) * Add a title to the category delete flow and increase line height * reset line height * update the title text Co-authored-by: scruffian <[email protected]> Co-authored-by: draganescu <[email protected]> Co-authored-by: tyxla <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: mirka <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: talldan <[email protected]> Co-authored-by: jameskoster <[email protected]> Co-authored-by: richtabor <[email protected]> Co-authored-by: getdave <[email protected]> Co-authored-by: youknowriad <[email protected]> Co-authored-by: annezazu <[email protected]>
What?
Partially fixes #58690 by aligning the look of the two dialogs.
Why?
Consistency.
How?
Testing Instructions
Testing Instructions for Keyboard
This is a visual change
Screenshots or screencast