diff options
author | Jeremy Gooch <[email protected]> | 2022-09-29 17:42:13 -0500 |
---|---|---|
committer | Jeremy Gooch <[email protected]> | 2022-09-29 17:42:13 -0500 |
commit | fc909566222669dd1ae9c642e2898c3d67bc6fb5 (patch) | |
tree | 0897a453c77ee97cdbf48dbbbc600dc810cfc3b4 | |
parent | 6bf6a5eecc1fa7ddbb1fcda85e08fe9c393f9298 (diff) |
Updating overflow prop on math/latex displays to be auto so scrollbars appear consistently between browsers.
-rw-r--r-- | components/Sidebar/noteStyle.ts | 4 |
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' + } } |