mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed Mermaid text boxes incorrectly computed (9.0.13 regression)
This commit is contained in:
parent
6538b35a39
commit
5b7cf17cd8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -40,7 +40,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.402914a4.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7bf56d0a.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a0c5b2b5.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a0c5b2b5.min.css' | url }}">
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
// Rules
|
// Rules
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// All definitions
|
// Mermaid variables
|
||||||
.mermaid {
|
:root > * {
|
||||||
--md-mermaid-font-family: var(--md-text-font-family), sans-serif;
|
--md-mermaid-font-family: var(--md-text-font-family), sans-serif;
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
@ -34,8 +34,12 @@
|
|||||||
--md-mermaid-node-fg-color: var(--md-accent-fg-color);
|
--md-mermaid-node-fg-color: var(--md-accent-fg-color);
|
||||||
--md-mermaid-label-bg-color: var(--md-default-bg-color);
|
--md-mermaid-label-bg-color: var(--md-default-bg-color);
|
||||||
--md-mermaid-label-fg-color: var(--md-code-fg-color);
|
--md-mermaid-label-fg-color: var(--md-code-fg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Mermaid container
|
// Mermaid container
|
||||||
|
.mermaid {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user