1. prevent clip due to x scroll
2. (IE support)add polyfill.js advised from mathjax
This commit is contained in:
joyqat 2020-07-24 10:09:48 +08:00
parent 91cf4b6be5
commit 4069de6423
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
.MathJax { .MathJax {
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
box-sizing: border-box;
} }

View File

@ -46,6 +46,7 @@
} }
}; };
</script> </script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script async src="{{ $js.mathjax.url }}"></script> <script async src="{{ $js.mathjax.url }}"></script>
{{ end }} {{ end }}