Make KaTeX not break inside math, and clean up container code

This commit is contained in:
Danila Fedorin 2020-03-06 17:54:00 -08:00
parent 67ecc741d0
commit 79ef221820
2 changed files with 5 additions and 5 deletions

View File

@ -91,7 +91,6 @@ $sidenote-highlight-border-width: .2rem;
}
.container {
position: relative;
left: -$sidenote-width/2
}
}

View File

@ -32,10 +32,6 @@ body {
text-align: justify;
}
main {
position: relative;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom: .1rem;
margin-top: .5rem;
@ -65,6 +61,7 @@ pre code {
}
.container {
position: relative;
margin: auto;
width: 100%;
max-width: $container-width;
@ -175,3 +172,7 @@ td {
}
padding: 0.5rem;
}
.katex-html {
white-space: nowrap;
}