Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(obsidian): move `max-height` css rule lower in the tree (#1273)
Elijah Pottered4581100086
diff --git a/packages/obsidian-plugin/src/lint.ts b/packages/obsidian-plugin/src/lint.tsindex 28fca1b9b..2659cd7e8 100644--- a/packages/obsidian-plugin/src/lint.ts+++ b/packages/obsidian-plugin/src/lint.ts@@ -472,6 +472,7 @@ const baseTheme = EditorView.baseTheme({display: 'flex',flexDirection: 'column',whiteSpace: 'pre-wrap',+ maxHeight: 'calc(100% - var(--header-height)) !important',},'.cm-diagnosticTitle': {@@ -520,7 +521,6 @@ const baseTheme = EditorView.baseTheme({boxShadow: 'var(--shadow-s) !important',zIndex: 'var(--layer-menu) !important',userSelect: 'none !important',- maxHeight: 'calc(100% - var(--header-height)) !important',overflow: 'hidden !important',},