Skip to content

Commit 72fdc86

Browse files
committed
Update pan-zoom.tsx
1 parent ba03332 commit 72fdc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/streamdown/lib/mermaid/pan-zoom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const PanZoom = ({
157157
{showControls ? (
158158
<div
159159
className={cn(
160-
"absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/90 p-1 shadow-sm backdrop-blur-sm",
160+
"absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",
161161
fullscreen ? "bottom-4 left-4" : "bottom-2 left-2"
162162
)}
163163
>

0 commit comments

Comments
 (0)