1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-11 11:28:02 -05:00
forgejo/web_src/css/shared
silverwind 51f6c3a059
Forbid deprecated break-word in CSS (#30934)
Forbid
[deprecated](https://drafts.csswg.org/css-text-3/#word-break-property)
`break-word` and fix all occurences.

Regarding `overflow-wrap: break-word` vs `overflow-wrap: anywhere`:

Example of difference: https://jsfiddle.net/silverwind/1va6972r/

[Here](https://stackoverflow.com/questions/77651244) it says:

> The differences between normal, break-word and anywhere are only clear
if you are using width: min-content on the element containing the text,
and you also set a max-width. A pretty rare scenario.

I don't think this difference will make any practical impact as we are
not hitting this rare scenario.

(cherry picked from commit 5556782ebeb1ca4d17e2fff434b11651887b9899)
2024-05-12 20:03:10 +02:00
..
flex-list.css Forbid deprecated break-word in CSS (#30934) 2024-05-12 20:03:10 +02:00
milestone.css Various UI fixes (#25264) 2023-06-21 21:59:49 -04:00
repoorg.css Add <overflow-menu>, rename webcomponents (#29400) 2024-03-20 08:46:29 +01:00
settings.css add stylelint-stylistic (#25285) 2023-06-17 13:20:32 +00:00