fix(style): LaTex/KaTeX overflow (#1027)

* LaTex/KaTeX overflow fix

* prettier

* Add !important modifier

* Added overflow-x override

* Refactor without !important

* Refactor scss notation

* Formatting scss
This commit is contained in:
Emile Bangma 2024-03-24 23:43:36 +01:00 committed by GitHub
parent 70d86ff096
commit 8437d9da72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -513,3 +513,15 @@ ol.overflow {
padding-left: 1rem; padding-left: 1rem;
} }
} }
.katex-display {
overflow-x: auto;
overflow-y: visible;
& > .katex .katex-html {
.base,
.strut {
display: inline;
}
}
}