1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-06-21 23:38:39 +00:00

chore(deps): bump mathjax from 3.2.2 to 4.x

This commit is contained in:
Cotes Chung
2026-05-15 15:22:19 +08:00
parent 1344e90246
commit 97a537e692
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -51,4 +51,4 @@ clipboard:
js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js
mathjax: mathjax:
js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js js: https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js
-1
View File
@@ -67,7 +67,6 @@
{% if page.math %} {% if page.math %}
<!-- MathJax --> <!-- MathJax -->
<script src="{{ '/assets/js/data/mathjax.js' | relative_url }}"></script> <script src="{{ '/assets/js/data/mathjax.js' | relative_url }}"></script>
<script async src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script> <script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
{% endif %} {% endif %}
+3 -2
View File
@@ -391,8 +391,9 @@ main {
/* MathJax */ /* MathJax */
mjx-container { mjx-container {
overflow-y: hidden; a {
min-width: auto !important; display: inline-block;
}
} }
@media (hover: hover) { @media (hover: hover) {