-
Notifications
You must be signed in to change notification settings - Fork 90
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
Fix deletion confirmation modal #1100
Comments
This deletion modal is from deletion a pod, but we should also check other dialogs. |
Yeah, I wasn't sure, as it was truncated and didn't provide any context in the screenshot... 😅 If some of us on the team are having issues identifying things, then you can be sure our users won't know. 😉 |
Agreed, we should verify all of them and see if they suffer from the same issues. |
As cockpit-project#1100 describes, there is no need to have "Confirm.." in our title. Follow the patternfly guidelines on dialog titles and make sure every modal has a context.
As #1100 describes, there is no need to have "Confirm.." in our title. Follow the patternfly guidelines on dialog titles and make sure every modal has a context.
patternfly/patternfly#1825 is an old issue about this topic. Specifically this comment states it was "recently" worked on in 2020 patternfly/patternfly#1825 (comment):
I do see line-clamp (as I suggested in this issue) as a helper utility in PF @ https://github.com/patternfly/patternfly/search?q=clamp — but it's only used for expandable sections, drawers, and alerts at the moment. |
This is how it should look according to PatternFly guidelines:
Additionally:
Notes: All would be selected by default. Mixed selections would have the "All" selection turn indeterminate. Everything unselected would make "All" unselected. |
Issues:
white-space: nowrap;
towhite-space: break-spaces;
line-clamp
could help here by letting it be a specified number of lines before truncating (instead of just 1), but it's still under a-webkit-
prefix and requires a bunch of wacky other bits of CSS to have it work. However, it does work cross browser in a reliable, supported manner. https://css-tricks.com/almanac/properties/l/line-clamp/ (This is incompatible with the above suggestion, which is simpler and fine as long as the line doesn't run too long.)Originally posted by @garrett in #1037 (comment)
The text was updated successfully, but these errors were encountered: