summaryrefslogtreecommitdiff
path: root/components/Sidebar/noteStyle.ts
diff options
context:
space:
mode:
authorJeremy Gooch <[email protected]>2022-09-29 17:42:13 -0500
committerJeremy Gooch <[email protected]>2022-09-29 17:42:13 -0500
commitfc909566222669dd1ae9c642e2898c3d67bc6fb5 (patch)
tree0897a453c77ee97cdbf48dbbbc600dc810cfc3b4 /components/Sidebar/noteStyle.ts
parent6bf6a5eecc1fa7ddbb1fcda85e08fe9c393f9298 (diff)
Updating overflow prop on math/latex displays to be auto so scrollbars appear consistently between browsers.
Diffstat (limited to 'components/Sidebar/noteStyle.ts')
-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'
+ }
}