fix: Mermaid fullscreen — fill viewport instead of showing tiny centered diagram
CI / lint (push) Successful in 14s
CI / security (push) Successful in 8s
CI / test (push) Failing after 23s
CI / build (push) Has been skipped

This commit is contained in:
2026-06-05 08:14:54 -04:00
parent da58b97096
commit 4a6e907f3f
2 changed files with 8 additions and 5 deletions
-4
View File
@@ -205,10 +205,6 @@ function openFullscreen(svgWrapper) {
content.innerHTML = svgWrapper.innerHTML;
var svg = content.querySelector('svg');
if (svg) {
svg.style.width = '100%';
svg.style.height = '100%';
svg.style.maxWidth = '95vw';
svg.style.maxHeight = '95vh';
svg.style.cursor = 'default';
}