summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2022-11-05 11:38:46 +0100
committerGitHub <[email protected]>2022-11-05 11:38:46 +0100
commit895ee32c52c10deb168d19c54b8c4146f1aa854e (patch)
tree0897a453c77ee97cdbf48dbbbc600dc810cfc3b4
parent6bf6a5eecc1fa7ddbb1fcda85e08fe9c393f9298 (diff)
parentfc909566222669dd1ae9c642e2898c3d67bc6fb5 (diff)
Merge pull request #266 from jeremygooch/feat/latex-scrollbars
-rw-r--r--components/Sidebar/noteStyle.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/Sidebar/noteStyle.ts b/components/Sidebar/noteStyle.ts
index 895009f..b7ba642 100644
--- a/components/Sidebar/noteStyle.ts
+++ b/components/Sidebar/noteStyle.ts
@@ -199,4 +199,8 @@ export const defaultNoteStyle = {
'.footdef': { marginBottom: '1em' },
'.figure': { padding: '1em' },
'.figure p': { textAlign: 'center' },
+ '.math.math-display .katex': {
+ overflow: 'auto',
+ minHeight: '1.5em'
+ }
}