From fc909566222669dd1ae9c642e2898c3d67bc6fb5 Mon Sep 17 00:00:00 2001 From: Jeremy Gooch Date: Thu, 29 Sep 2022 17:42:13 -0500 Subject: Updating overflow prop on math/latex displays to be auto so scrollbars appear consistently between browsers. --- components/Sidebar/noteStyle.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/Sidebar/noteStyle.ts') 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' + } } -- cgit v1.2.3