-
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
Inserter: Long block names - line break #8047
Comments
Seems fine to me, it's a small non-essential visual tweak, and it forces the use of the |
As a check is hyphens used in core? If so then I don't mind. |
Please look at the browser stats. Chrome is the most used browser worldwide. |
Browser support for this feature is actually not bad though Chrome on Windows inexplicably fails. I'd agree with adding it as a progressive enhancement. |
Tried this out just in the inspector and seems like a straightforward fix! Since browsers ignore CSS properties they don't support, I don't think there's anything we need for progressive enhancement here. Also, the latest 5 versions of Chrome have full support for |
I have tested with a few words and it appears that hyphenation is not always done at the proper place. Also, according to MDN, non-English languages do not appear to be supported yet. For now, I think it is better not to hyphenate. What do you think? Pneumonoultramicroscopicsilicovolcanoconiosis
Supercalifragilisticexpialidocious
|
I've thought about this issue a bit more, and am beginning to think that if it's an improvement for a specific OS or language, it might be worth going ahead with. Currently,
It seems to be used widely in core: |
Describe the bug
If the block name is very long it just breaks in a new line.
Example:
With
hyphens: auto
, we can set the break at a correct position.This feature doesn't work on Chrome/Windows, see https://caniuse.com/#feat=css-hyphens But it's an enhancement for all other users.
The text was updated successfully, but these errors were encountered: