Skip to content

Commit 0d2b6da

Browse files
author
Eric Wheeler
committed
fix: make dropdown menu background fully opaque
Fixes the issue where dropdown menus in the configuration screen appeared transparent, making text difficult to read against background content. - Added bg-opacity-100 to ensure dropdown background is fully opaque Signed-off-by: Eric Wheeler <[email protected]>
1 parent 4338f64 commit 0d2b6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/ui/dropdown-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const DropdownMenuContent = React.forwardRef<
2727
"z-50 min-w-[8rem] overflow-hidden rounded-xs p-1 shadow-xs",
2828
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
2929
"border border-vscode-focusBorder",
30-
"bg-vscode-dropdown-background",
30+
"bg-vscode-dropdown-background bg-opacity-100",
3131
"text-vscode-dropdown-foreground",
3232
className,
3333
)}

0 commit comments

Comments
 (0)