FIX: ensures wide equations are responsive on Safari

This commit ensures that wide equations can be scrolled on Safari. It previously failed because Safari doesn't not support the two value overflow shorthand.
This commit is contained in:
Joe 2020-03-06 07:34:46 +08:00 committed by GitHub
parent cdf7a1a6f9
commit 5233654fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
// special handeling for katex
.katex-html {
display: block;
overflow: auto hidden;
overflow-x: auto;
max-width: 100%;
padding: 0.25em 0.5em;
box-sizing: border-box;