From 17f8c51ebd44579f99dea3e68e0833941b06a4d3 Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Thu, 8 May 2025 12:28:55 -0700 Subject: [PATCH] TimeInput: hide number input spin box on Firefox --- src/lib/TimeInput.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/TimeInput.svelte b/src/lib/TimeInput.svelte index 03176e5..b594367 100644 --- a/src/lib/TimeInput.svelte +++ b/src/lib/TimeInput.svelte @@ -335,6 +335,7 @@ :global(.time-input) { @apply h-16 w-24 text-center text-xl; + -moz-appearance: textfield; &:focus::placeholder { @apply text-transparent; @@ -342,7 +343,7 @@ &::-webkit-inner-spin-button, &::-webkit-outer-spin-button { - @apply appearance-none; + @apply m-0 appearance-none; } }