diff options
author | Nicholas Smith <nicholas.smith4@utdallas.edu> | 2019-10-18 11:26:13 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-10-18 19:26:13 +0300 |
commit | 05e437f8fd29d078af4148f3b2debcb789d8bfac (patch) | |
tree | 1e0a9d9227dc364fa3627d82157dd8053f0baadd /public/less/_form.less | |
parent | 23045c7d534619fa31213409fcf5587265bc86b7 (diff) | |
download | gitea-05e437f8fd29d078af4148f3b2debcb789d8bfac.tar.gz gitea-05e437f8fd29d078af4148f3b2debcb789d8bfac.zip |
Remove arrows on numeric inputs (#8516)
* Nothing needs the arrows for input, especially 2FA
* Moved into LESS
Diffstat (limited to 'public/less/_form.less')
-rw-r--r-- | public/less/_form.less | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/less/_form.less b/public/less/_form.less index c1a4f80c10..2f37666fb6 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -140,6 +140,16 @@ width: 100% !important; } } + + input[type=number] { + -moz-appearance: textfield; + } + + input::-webkit-outer-spin-button, + input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; + } } } |