Skip to content

Commit a8b9ace

Browse files
committed
Fixed height of symbols for KaTeX inline rendering
1 parent c0addd8 commit a8b9ace

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

material/templates/assets/stylesheets/main.84d31ad4.min.css renamed to material/templates/assets/stylesheets/main.d8f969c1.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/templates/assets/stylesheets/main.84d31ad4.min.css.map renamed to material/templates/assets/stylesheets/main.d8f969c1.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{% endif %}
4545
{% endblock %}
4646
{% block styles %}
47-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.84d31ad4.min.css' | url }}">
47+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d8f969c1.min.css' | url }}">
4848
{% if config.theme.palette %}
4949
{% set palette = config.theme.palette %}
5050
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">

src/templates/assets/stylesheets/main/extensions/pymdownx/_arithmatex.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@
5959
height: 0;
6060
}
6161
}
62+
63+
// Fix for KaTeX - see https://t.ly/keo1Q
64+
.katex-html svg {
65+
max-width: revert;
66+
}
6267
}

0 commit comments

Comments
 (0)