refactor(automations): improve UI consistency by updating alert messages, enhancing task item layout, and refining timezone selection component

This commit is contained in:
Anish Sarkar 2026-06-03 03:41:03 +05:30
parent eabbfb8c67
commit 75c8063bea
14 changed files with 248 additions and 287 deletions

View file

@ -43,9 +43,12 @@ function SelectTrigger({
function SelectContent({
className,
children,
matchTriggerWidth = true,
position = "popper",
...props
}: React.ComponentProps<typeof SelectPrimitive.Content>) {
}: React.ComponentProps<typeof SelectPrimitive.Content> & {
matchTriggerWidth?: boolean;
}) {
return (
<SelectPrimitive.Portal>
<SelectPrimitive.Content
@ -64,6 +67,7 @@ function SelectContent({
className={cn(
"p-1",
position === "popper" &&
matchTriggerWidth &&
"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
)}
>