Skip to content

Commit eb8f643

Browse files
committed
fix: restore opaque background to settings section headers
1 parent c28478e commit eb8f643

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

webview-ui/src/components/settings/SectionHeader.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ type SectionHeaderProps = HTMLAttributes<HTMLDivElement> & {
99

1010
export const SectionHeader = ({ description, children, className, ...props }: SectionHeaderProps) => {
1111
return (
12-
<div className={cn("sticky top-0 z-10 text-vscode-sideBar-foreground px-5 pt-6 pb-4", className)} {...props}>
12+
<div
13+
className={cn(
14+
"sticky top-0 z-10 text-vscode-sideBar-foreground bg-vscode-sideBar-background brightness-90 px-5 pt-6 pb-4",
15+
className,
16+
)}
17+
{...props}>
1318
<h3 className="text-[1.25em] font-semibold text-vscode-foreground m-0">{children}</h3>
1419
{description && <p className="text-vscode-descriptionForeground text-sm mt-2 mb-0">{description}</p>}
1520
</div>

0 commit comments

Comments
 (0)