We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a24af commit 4dfe1ffCopy full SHA for 4dfe1ff
gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx
@@ -141,7 +141,7 @@ export default function MermaidDiagram({ code }: { code: string }) {
141
{!!error ? (
142
<div className="text-error whitespace-pre text-sm">{error}</div>
143
) : (
144
- <div className="relative">
+ <div className="mermaid relative">
145
<div className="absolute right-0 z-10 m-2 flex items-center gap-x-1">
146
<ToolTip content={"Zoom In"}>
147
<MagnifyingGlassPlusIcon
gui/src/components/StyledMarkdownPreview/markdown.css
@@ -1038,3 +1038,6 @@ body[data-color-mode*="light"] {
1038
.token.entity {
1039
cursor: help;
1040
}
1041
+.mermaid foreignObject {
1042
+ width: 100%;
1043
+}
0 commit comments