Replace gt-word-break
with tw-break-anywhere
(#31183)
`overflow-wrap: anywhere` is a superior alternative to `word-wrap: break-word` and we were already setting it in the class. I tested a few cases, all look good.
This commit is contained in:
parent
9000811118
commit
138e946c3d
16 changed files with 18 additions and 23 deletions
|
@ -3,11 +3,6 @@ Gitea's tailwind-style CSS helper classes have `gt-` prefix.
|
|||
Gitea's private styles use `g-` prefix.
|
||||
*/
|
||||
|
||||
.gt-word-break {
|
||||
word-wrap: break-word !important;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.gt-ellipsis {
|
||||
overflow: hidden !important;
|
||||
white-space: nowrap !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue