mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
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:
parent
73b96a41bc
commit
a72d2c07cf
1 changed files with 12 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue