Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00
forgejo/web_src/css/features
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
..
codeeditor.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
colorpicker.css Replace coloris with vanilla-colorful (#30201) 2024-04-07 15:40:31 +02:00
console.css Forbid deprecated break-word in CSS (#30934) 2024-05-12 20:03:10 +02:00
dropzone.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
gitgraph.css Fix various loading states, remove .loading class (#29920) 2024-03-26 19:04:26 +01:00
heatmap.css Add hover outline to heatmap squares (#30828) 2024-05-05 12:15:40 +01:00
imagediff.css Improve Image Diff UI (#26696) 2023-08-24 12:13:23 +00:00
projects.css [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
tribute.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00