mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-24 14:53:45 -04:00
Fixed Mermaid text boxes incorrectly computed (9.0.13 regression)
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// Rules
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// All definitions
|
||||
.mermaid {
|
||||
// Mermaid variables
|
||||
:root > * {
|
||||
--md-mermaid-font-family: var(--md-text-font-family), sans-serif;
|
||||
|
||||
// Colors
|
||||
@@ -34,8 +34,12 @@
|
||||
--md-mermaid-node-fg-color: var(--md-accent-fg-color);
|
||||
--md-mermaid-label-bg-color: var(--md-default-bg-color);
|
||||
--md-mermaid-label-fg-color: var(--md-code-fg-color);
|
||||
}
|
||||
|
||||
// Mermaid container
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Mermaid container
|
||||
.mermaid {
|
||||
margin: 1em 0;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user