Skip to content

Commit 89d28a5

Browse files
authored
Give Mermaid buttons a light background in light mode (RooCodeInc#5342)
1 parent 0504041 commit 89d28a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/common/MermaidButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function MermaidButton({ containerRef, code, isLoading, svgToPng, childre
127127
<div className="relative w-full" onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>
128128
{children}
129129
{!isLoading && isHovering && (
130-
<div className="absolute bottom-2 right-2 flex gap-1 bg-black/70 rounded p-0.5 z-10 opacity-100 transition-opacity duration-200 ease-in-out">
130+
<div className="absolute bottom-2 right-2 flex gap-1 bg-vscode-editor-background/90 rounded p-0.5 z-10 opacity-100 transition-opacity duration-200 ease-in-out">
131131
<MermaidActionButtons
132132
onZoom={handleZoom}
133133
onCopy={handleCopy}

0 commit comments

Comments
 (0)