mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: restore opaque background to settings section headers (#10951)
Co-authored-by: Roo Code <roomote@roocode.com> Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
This commit is contained in:
parent
c28478eda7
commit
b472c15220
1 changed files with 6 additions and 1 deletions
|
|
@ -9,7 +9,12 @@ type SectionHeaderProps = HTMLAttributes<HTMLDivElement> & {
|
|||
|
||||
export const SectionHeader = ({ description, children, className, ...props }: SectionHeaderProps) => {
|
||||
return (
|
||||
<div className={cn("sticky top-0 z-10 text-vscode-sideBar-foreground px-5 pt-6 pb-4", className)} {...props}>
|
||||
<div
|
||||
className={cn(
|
||||
"sticky top-0 z-10 text-vscode-sideBar-foreground bg-vscode-sideBar-background px-5 pt-6 pb-4",
|
||||
className,
|
||||
)}
|
||||
{...props}>
|
||||
<h3 className="text-[1.25em] font-semibold text-vscode-foreground m-0">{children}</h3>
|
||||
{description && <p className="text-vscode-descriptionForeground text-sm mt-2 mb-0">{description}</p>}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue