-
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
ConfirmDialog: Improve styles, and use for block removal warning #58690
Comments
At least the current title feels a little pretentious to me. For example, I think it would be a good idea to indicate what we are trying to do with a title like "Delete Something". Another approach, as shown in #58390, is to unify all buttons that perform destructive actions in red and remove the title. |
Are you thinking the line-height of the text, width of the modal, or both? I agree it does look a bit squished, mostly the line-height, but perhaps the modal could be wider too. The Pattern Category modal uses the general The block removal modal doesn't use Then it's just a situation of updating the styles for |
ConfirmDialog could be updated to use the new(ish) I don't see any reason for the text styling to be different in these examples. |
I like the presentation better generally, even for desktop ha :) |
If we want to change the details we should change them across, I'd avoid having one style for either viewport. I also think we can look at this holistically in a design system, rather than piecemeal. |
This comment was marked as resolved.
This comment was marked as resolved.
Other way around, it's the block removal warning that's not using
|
What can we do to iterate and improve for 6.5? I'd like to see the modal updated to be consistent with other modals and, ideally, we can ship some modal responsiveness improvements. @scruffian tagging you in as you very kindly recently helped with this! |
Given that RC1 is today I'm removing this one from 6.5 as non essential. |
I made a PR to deal with this but I am concerned that it might be too big a change: #59645 |
Using 6.5-alpha-57531, I noticed the text for deleting a pattern category is quite squished when compared to other modals as shown below.
Screenshot of deleting a pattern category modal:
Screenshot of warning about deleting a query loop block on a template:
Can we unify this a bit more and adding a proper heading to the delete modal too for consistency? cc @WordPress/gutenberg-design for any thoughts here.
The text was updated successfully, but these errors were encountered: