This commit is contained in:
Timothy Jaeryang Baek
2026-04-21 13:57:43 +09:00
parent 65834432a3
commit f485309fd6
+7 -2
View File
@@ -260,10 +260,15 @@ select {
display: none; display: none;
} }
/* Hide leaked Mermaid temp containers if render cleanup misses */ /* Hide leaked Mermaid temp containers if render cleanup misses.
Use visibility:hidden (not display:none) so mermaid can still
measure the SVG layout before extracting its HTML. */
body > div[id^='dmermaid-'], body > div[id^='dmermaid-'],
body > iframe[id^='imermaid-'] { body > iframe[id^='imermaid-'] {
display: none !important; position: fixed !important;
visibility: hidden !important;
height: 0 !important;
overflow: hidden !important;
} }
.scrollbar-hidden:active::-webkit-scrollbar-thumb, .scrollbar-hidden:active::-webkit-scrollbar-thumb,