Skip to content

Commit fa6c0cb

Browse files
authored
Fix Theme position/color in user menu (#160)
* fix theme in user menu * format
1 parent 4ada0e0 commit fa6c0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ui/dropdown-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function DropdownMenuSubTrigger({
173173
data-slot="dropdown-menu-sub-trigger"
174174
data-inset={inset}
175175
className={cn(
176-
'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8',
176+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
177177
className,
178178
)}
179179
{...props}

0 commit comments

Comments
 (0)