Fixed height of symbols for KaTeX inline rendering

This commit is contained in:
squidfunk
2025-11-06 10:50:25 +01:00
parent c0addd8add
commit a8b9ace30a
4 changed files with 8 additions and 3 deletions

View File

@@ -44,7 +44,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.84d31ad4.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d8f969c1.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">

View File

@@ -59,4 +59,9 @@
height: 0;
}
}
// Fix for KaTeX - see https://t.ly/keo1Q
.katex-html svg {
max-width: revert;
}
}