Commit 391aff3e authored by Himanshu Kapoor's avatar Himanshu Kapoor

Revert max-width set on mermaid charts

This reverts commit 07f5ccbe.
parent a87025cd
...@@ -82,7 +82,7 @@ function renderMermaidEl(el) { ...@@ -82,7 +82,7 @@ function renderMermaidEl(el) {
return; return;
} }
svg.classList.add('mermaid', 'mw-100'); svg.classList.add('mermaid');
// pre > code > svg // pre > code > svg
svg.closest('pre').replaceWith(svg); svg.closest('pre').replaceWith(svg);
......
---
title: Force mermaid diagrams to be scaled to fit within browser window when used in markdown
merge_request: 25016
author: Christopher Stryker
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment