From 86011739f10578442d1464745115d831d629d799 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 1 Feb 2024 08:27:23 -0800 Subject: feat(input): prettier inputs --- src/styles/input.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/styles') diff --git a/src/styles/input.css b/src/styles/input.css index 381f2ebe..fb7be86f 100644 --- a/src/styles/input.css +++ b/src/styles/input.css @@ -21,6 +21,16 @@ select { background-color: var(--base07); /* color: var(--base05); */ } + + input[type='number']::-webkit-inner-spin-button, + input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; + } + + input[type='number'] { + appearance: textfield; + } } input[type='text'], @@ -139,3 +149,7 @@ button:disabled:active { .button-action { background-color: var(--base0E); } + +.no-shadow { + box-shadow: none; +} -- cgit v1.2.3