diff --git a/app/components/pub/my-ui/combobox/combobox.vue b/app/components/pub/my-ui/combobox/combobox.vue index 38ed99bc..e0bda02d 100644 --- a/app/components/pub/my-ui/combobox/combobox.vue +++ b/app/components/pub/my-ui/combobox/combobox.vue @@ -74,7 +74,7 @@ function onSelect(item: Item) { :aria-describedby="`${props.id}-search`" :class=" cn( - 'w-full justify-between border text-sm font-normal rounded-md px-3 py-2 focus:outline-none focus:ring-1 focus:ring-black dark:focus:ring-white', + 'w-full justify-between border md:text-xs 2xl:text-sm font-normal rounded-md px-3 py-2 focus:outline-none focus:ring-1 focus:ring-black dark:focus:ring-white', { 'cursor-not-allowed bg-gray-100 opacity-50 border-gray-300 text-gray-500': props.isDisabled, 'bg-white text-black dark:bg-gray-800 dark:text-white dark:border-gray-600 border-gray-400 hover:bg-gray-50 dark:hover:bg-gray-700': !props.isDisabled, @@ -117,7 +117,7 @@ function onSelect(item: Item) { :value="item.searchValue" :class=" cn( - 'flex w-full cursor-pointer items-center justify-between rounded-sm px-2 py-1.5 text-sm', + 'flex w-full cursor-pointer items-center justify-between rounded-sm px-2 py-1.5 md:text-xs xl:text-sm', 'focus:outline-none text-black dark:text-white', 'hover:bg-primary hover:text-white focus:bg-primary focus:text-white', 'data-[highlighted]:bg-primary data-[highlighted]:text-white', diff --git a/app/components/pub/ui/button/index.ts b/app/components/pub/ui/button/index.ts index c16fb713..34b82cf6 100644 --- a/app/components/pub/ui/button/index.ts +++ b/app/components/pub/ui/button/index.ts @@ -4,7 +4,7 @@ import { cva } from 'class-variance-authority' export { default as Button } from './Button.vue' export const buttonVariants = cva( - 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md md:tex-xs xl:text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', + 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md md:tex-xs 2xl:text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: { @@ -19,7 +19,7 @@ export const buttonVariants = cva( link: 'text-primary underline-offset-4 hover:underline', }, size: { - default: 'md:h8 xl:h-9 px-4 py-2', + default: 'md:h8 2xl:h-9 px-4 py-2', xs: 'h-7 rounded px-2', sm: 'h-8 rounded-md px-3 text-xs', lg: 'h-10 rounded-md px-8', diff --git a/app/components/pub/ui/checkbox/Checkbox.vue b/app/components/pub/ui/checkbox/Checkbox.vue index f8b25c7a..1e01933d 100644 --- a/app/components/pub/ui/checkbox/Checkbox.vue +++ b/app/components/pub/ui/checkbox/Checkbox.vue @@ -21,7 +21,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits) diff --git a/app/components/pub/ui/form/FormDescription.vue b/app/components/pub/ui/form/FormDescription.vue index 60bc8767..b8508491 100644 --- a/app/components/pub/ui/form/FormDescription.vue +++ b/app/components/pub/ui/form/FormDescription.vue @@ -14,7 +14,7 @@ const { formDescriptionId } = useFormField()