mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
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:
parent
70d86ff096
commit
8437d9da72
1 changed files with 12 additions and 0 deletions
|
@ -513,3 +513,15 @@ ol.overflow {
|
|||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.katex-display {
|
||||
overflow-x: auto;
|
||||
overflow-y: visible;
|
||||
|
||||
& > .katex .katex-html {
|
||||
.base,
|
||||
.strut {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue