A continuation of HomeBox the inventory and organization system built for the Home User
Fix auto-zoom on iOS devices (#1029)
Alan Mooiman35a83c29afac
diff --git a/frontend/components/ui/command/CommandInput.vue b/frontend/components/ui/command/CommandInput.vueindex 84111c4b..4520dd10 100644--- a/frontend/components/ui/command/CommandInput.vue+++ b/frontend/components/ui/command/CommandInput.vue@@ -27,7 +27,7 @@ const forwardedProps = useForwardProps(delegatedProps)<ComboboxInputv-bind="{ ...forwardedProps, ...$attrs }"auto-focus- :class="cn('flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50', props.class)"+ :class="cn('flex h-11 w-full rounded-md bg-transparent py-3 text-base md:text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50', props.class)"/></div></template>diff --git a/frontend/components/ui/input/Input.vue b/frontend/components/ui/input/Input.vueindex ea452931..37637478 100644--- a/frontend/components/ui/input/Input.vue+++ b/frontend/components/ui/input/Input.vue@@ -24,7 +24,7 @@v-model="modelValue":class="cn(- 'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-muted-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',+ 'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base md:text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-muted-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',props.class)"diff --git a/frontend/components/ui/select/SelectTrigger.vue b/frontend/components/ui/select/SelectTrigger.vueindex d50d719d..ecc3d2dd 100644--- a/frontend/components/ui/select/SelectTrigger.vue+++ b/frontend/components/ui/select/SelectTrigger.vue@@ -19,7 +19,7 @@ const forwardedProps = useForwardProps(delegatedProps)<SelectTriggerv-bind="forwardedProps":class="cn(- 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start',+ 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-base md:text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start',props.class,)">diff --git a/frontend/components/ui/tags-input/TagsInputInput.vue b/frontend/components/ui/tags-input/TagsInputInput.vueindex 66841ffc..d7521fdc 100644--- a/frontend/components/ui/tags-input/TagsInputInput.vue+++ b/frontend/components/ui/tags-input/TagsInputInput.vue@@ -15,5 +15,13 @@ const forwardedProps = useForwardProps(delegatedProps)</script><template>- <TagsInputInput v-bind="forwardedProps" :class="cn('text-sm min-h-6 focus:outline-none flex-1 bg-transparent px-1', props.class)" />+ <TagsInputInput+ v-bind="forwardedProps"+ :class="cn(+ 'text-base',+ 'md:text-sm',+ 'min-h-6 focus:outline-none flex-1 bg-transparent px-1',+ props.class+ )"+ /></template>diff --git a/frontend/components/ui/textarea/Textarea.vue b/frontend/components/ui/textarea/Textarea.vueindex e4a7c139..00404d05 100644--- a/frontend/components/ui/textarea/Textarea.vue+++ b/frontend/components/ui/textarea/Textarea.vue@@ -23,8 +23,8 @@ const modelValue = useVModel(props, 'modelValue', emits, {</script><template>- <textarea v-if="!props.autosize" v-model="modelValue" :class="cn('flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', props.class)" />+ <textarea v-if="!props.autosize" v-model="modelValue" :class="cn('flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-base md:text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', props.class)" /><div v-else :class="cn('flex w-full rounded-md border border-input', props.class)">- <textarea ref="textarea" v-model="modelValue" class="w-full min-h-20 resize-none w-full rounded-md border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" />+ <textarea ref="textarea" v-model="modelValue" class="w-full min-h-20 resize-none w-full rounded-md border-input bg-background px-3 py-2 text-base md:text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" /></div></template>