refactor: move KaTeX style to article.scss

This commit is contained in:
Jimmy Cai 2022-10-29 12:37:06 +00:00
parent dafc09c892
commit 9edbb64df3
2 changed files with 6 additions and 7 deletions

View File

@ -29,10 +29,3 @@ a {
color: var(--body-text-color);
}
}
/* --- Make long KaTeX equations scrollable in the x-axis --- */
.katex-display>.katex {
overflow-x: auto;
overflow-y: hidden;
}

View File

@ -412,4 +412,10 @@
margin-right: calc((var(--card-padding)) * -1);
width: calc(100% + var(--card-padding) * 2);
}
/// Make long KaTeX equations scrollable in the x-axis
.katex-display > .katex {
overflow-x: auto;
overflow-y: hidden;
}
}