summaryrefslogtreecommitdiff
path: root/components/Sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'components/Sidebar')
-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'
+ }
}