Skip to content

A self-hosted media server and file management system

fix: number field fills parent height

aminnausin19a429b9b0dd
diff --git a/resources/js/components/cedar-ui/number-field/FormNumberField.vue b/resources/js/components/cedar-ui/number-field/FormNumberField.vue
index f796ee58..026c0ac4 100644
--- a/resources/js/components/cedar-ui/number-field/FormNumberField.vue
+++ b/resources/js/components/cedar-ui/number-field/FormNumberField.vue
@@ -39,7 +39,7 @@ const clamp = () => {
</script>
<template>
- <span class="group relative mt-1 inline-flex w-full">
+ <div class="group relative mt-1 inline-flex h-(--input-height) w-full">
<InputShell>
<template #input="{ class: inputClass }">
<input
@@ -79,5 +79,5 @@ const clamp = () => {
<LucideChevronDown width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" class="size-4" />
</ButtonIcon>
</span>
- </span>
+ </div>
</template>