MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
AdminIsidore (talk | contribs) No edit summary |
AdminIsidore (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
max-width: 800px; | max-width: 800px; | ||
margin: 1em auto; | margin: 1em auto; | ||
padding: 2em; | padding: 2em; | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid #cccccc; | border: 1px solid #cccccc; | ||
border-radius: 5px; | border-radius: 5px; | ||
overflow: visible; /* | overflow: visible; /* Ensure no clipping */ | ||
min-height: | min-height: 400px; /* Increased height */ | ||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
| Line 35: | Line 35: | ||
.mermaid svg { | .mermaid svg { | ||
width: 100%; | width: 100%; | ||
height: auto; /* Allow SVG | height: auto; /* Allow dynamic height */ | ||
font-size: | min-height: 300px; /* Ensure enough SVG height */ | ||
font-size: 12px; /* Consistent font size */ | |||
overflow: visible; /* Prevent SVG clipping */ | |||
} | } | ||