Skip to content

Commit 0583a04

Browse files
fix(ui/Select): reset absolute layout for menu container
1 parent c1e904a commit 0583a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/Select/innerComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const selectVariants = tv({
2222
"p-2 flex items-center gap-4 border-[length:var(--border-base-width)] border-current text-[color:var(--my-var)] not-[[data-expanded=true]]:focus-within:outline-3 not-[[data-expanded=true]]:focus-within:outline-primary-hover not-[[data-expanded=true]]:focus-within:outline -outline-offset-2 [&[data-expanded=true]]:bg-background-highlight [&[data-expanded=true]]:text-primary [&[data-expanded=true]]:border-primary-low-contrast hover:text-primary hover:border-primary-low-contrast",
2323
indicatorIcon:
2424
"text-sm leading-none transition-transform [*[data-expanded=true]_&]:rotate-180",
25-
menu: "-z-[1] relative",
25+
menu: "-z-[1] absolute w-full",
2626
menuList:
2727
"overflow-y-auto bg-background-highlight w-full max-h-80 border-x-[length:--border-base-width] border-b-[length:--border-base-width] rounded-b",
2828
option:

0 commit comments

Comments
 (0)