[wp-trac] [WordPress Trac] #59939: Media: "Copy URL" tooltip text may wrap
WordPress Trac
noreply at wordpress.org
Sun Feb 25 11:46:48 UTC 2024
#59939: Media: "Copy URL" tooltip text may wrap
--------------------------+-----------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 5.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by wildworks):
I have attached a patch to this ticket to fix the issue with tooltips.
This patch applies `white-space: nowrap` to the tooltip, but another
approach is to use [https://developer.mozilla.org/en-US/docs/Web/CSS/word-
break#keep-all word-break: keep-all]. However, WordPress core does not use
"word-break: keep-all" at all, so I avoided this approach.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59939#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list