diff --git a/src/components/ui/time-picker.tsx b/src/components/ui/time-picker.tsx index 5f0f342..01c7d3d 100644 --- a/src/components/ui/time-picker.tsx +++ b/src/components/ui/time-picker.tsx @@ -723,7 +723,7 @@ function TimePickerInputGroup(props: DivProps) { data-invalid={invalid ? "" : undefined} {...inputGroupProps} className={cn( - "flex h-10 w-full cursor-text items-center gap-0.5 rounded-md border border-input bg-background px-3 py-2 shadow-xs outline-none transition-shadow", + "flex h-10 w-full cursor-text items-center gap-0.5 rounded-md border border-input bg-background pl-3 pr-2 py-2 shadow-xs outline-none transition-shadow", "has-[input:focus]:border-ring has-[input:focus]:ring-[3px] has-[input:focus]:ring-ring/50", invalid && "border-destructive ring-destructive/20", disabled && "cursor-not-allowed opacity-50", @@ -1468,11 +1468,11 @@ function TimePickerTrigger(props: ButtonProps) { ref={composedRef} {...triggerProps} className={cn( - "ml-auto size-7 text-muted-foreground hover:text-foreground", + "ml-auto size-7 shrink-0 text-muted-foreground hover:text-foreground", className, )} > - {children ?? } + {children ??