When using display: grid
on the .markdown-preview-sizer
element, the min-height
of said element shoots up to very high values and continues to increase continuously as one scrolls the page.
Steps to reproduce
Just add this snippet / theme.
.markdown-preview-sizer {
display: grid;
}
Did you follow the troubleshooting guide?
Yes.
Expected result
I guess better loading/unloading and height calculation of elements.
Actual result
min-height
of.markdown-preview-sizer
shoots up into infinity- Most elements unload immediately
Environment
SYSTEM INFO:
Obsidian version: v1.7.5
Installer version: v1.7.5
Operating system: Darwin Kernel Version 23.6.0: Fri Jul 5 17:53:24 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6020 23.6.0
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: dbe v0.0.1
Snippets enabled: 0
Restricted mode: on
Note: The dbe
theme only contains the above lines and nothing else.
Additional information
Through some debugging, I’ve found out that setting align-content: start
helps, but using after setting grid-template-columns
bugs out again. Setting min-height
to unset !important
helps slightly, but scrolling does not work.