fix: Mermaid fullscreen — fill viewport instead of showing tiny centered diagram
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user