feat(ui): enable text auto-spacing (#11340)
See #11020 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11340 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: xtex <xtexchooser@duck.com> Co-committed-by: xtex <xtexchooser@duck.com>
This commit is contained in:
@@ -76,6 +76,8 @@ body {
|
||||
flex-direction: column;
|
||||
overflow-x: visible;
|
||||
overflow-wrap: break-word;
|
||||
text-autospace: normal;
|
||||
text-spacing-trim: normal;
|
||||
}
|
||||
|
||||
textarea {
|
||||
@@ -89,6 +91,16 @@ samp {
|
||||
font-family: var(--fonts-monospace);
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp,
|
||||
tt {
|
||||
text-spacing: none;
|
||||
text-autospace: initial;
|
||||
text-spacing-trim: initial;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
|
||||
Reference in New Issue
Block a user