Make KaTeX not break inside math, and clean up container code
This commit is contained in:
parent
67ecc741d0
commit
79ef221820
|
@ -91,7 +91,6 @@ $sidenote-highlight-border-width: .2rem;
|
|||
}
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
left: -$sidenote-width/2
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user