Changesets · Branches · Tags · Compare
| Changeset | 98c27377e91434f92ffa6ee44305ff02935620c7f79f4a5c820fc8900c617d5f |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-09-25 15:58 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-25 15:58 -07:00 |
| Parents | f636b4841cdd |
2 files changed
modified gui/src/components/StyledMarkdownPreview/MermaidBlock.tsx +1 −1
| @@ -141,7 +141,7 @@ | ||
| 141 | 141 | {!!error ? ( |
| 142 | 142 | <div className="text-error whitespace-pre text-sm">{error}</div> |
| 143 | 143 | ) : ( |
| 144 | - <div className="relative"> | |
| 144 | + <div className="mermaid relative"> | |
| 145 | 145 | <div className="absolute right-0 z-10 m-2 flex items-center gap-x-1"> |
| 146 | 146 | <ToolTip content={"Zoom In"}> |
| 147 | 147 | <MagnifyingGlassPlusIcon |
modified gui/src/components/StyledMarkdownPreview/markdown.css +3 −0
| @@ -1038,3 +1038,6 @@ | ||
| 1038 | 1038 | .token.entity { |
| 1039 | 1039 | cursor: help; |
| 1040 | 1040 | } |
| 1041 | +.mermaid foreignObject { | |
| 1042 | + width: 100%; | |
| 1043 | +} |