diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-07 16:00:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 08:00:20 +0000 |
commit | 1221221595122c212ace8bc50f2904bead8d2655 (patch) | |
tree | e6458fc40cb60738b213fcce628362f8185a4dc5 /web_src/css | |
parent | d1dca38a2a92f59c7fd071f1f348caa264f18c62 (diff) | |
download | gitea-1221221595122c212ace8bc50f2904bead8d2655.tar.gz gitea-1221221595122c212ace8bc50f2904bead8d2655.zip |
Add "dir=auto" for input/textarea elements by default (#26735)
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css')
-rw-r--r-- | web_src/css/base.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 9f42610641..8542248d90 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -478,6 +478,7 @@ a.label, /* fix Fomantic's line-height cutting off "g" on Windows Chrome with Segoe UI */ .ui.input > input { line-height: var(--line-height-default); + text-align: start; /* Override fomantic's `text-align: left` to make RTL work via HTML `dir="auto"` */ } .ui.input.focus > input, |