diff options
| author | Fuwn <[email protected]> | 2024-05-05 17:24:13 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-05 17:24:13 -0700 |
| commit | d5e2a26065b031d734aeae82936f1d96013ec931 (patch) | |
| tree | fba381bf7d4a50b4de6176b33d978d1b2090c55e /src/styles/input.css | |
| parent | fix(badges): maintain pinned category order (diff) | |
| download | due.moe-d5e2a26065b031d734aeae82936f1d96013ec931.tar.xz due.moe-d5e2a26065b031d734aeae82936f1d96013ec931.zip | |
fix(input.css): input y alignment
Diffstat (limited to 'src/styles/input.css')
| -rw-r--r-- | src/styles/input.css | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/styles/input.css b/src/styles/input.css index 9c391c59..a78a4cbf 100644 --- a/src/styles/input.css +++ b/src/styles/input.css @@ -16,6 +16,15 @@ textarea { box-shadow: rgba(0, 0, 11, 0.1) 0px 7px 29px 0px; } +input, +select, +textarea, +button { + vertical-align: middle; + transform: translateY(-0.125em); + margin-top: 0.25em; +} + @media (prefers-color-scheme: dark) { input, select, @@ -48,9 +57,13 @@ button { padding: 0.25em 0.5em; } +input, +button, +select { + height: 2em; +} + select { - margin-top: 0.25em; - margin-bottom: 0.25em; padding: 0.25em 0.5em; } |