I am doing a significant rewrite of the default/minimal theme to get live preview ‘less jumpy’ and more in line with reading mode. However, I’ve ran into the following layout breaking issue:
Steps to reproduce
- Create a list with more than 2 levels of nesting in live preview mode using tabs:
- Add a short strings to each level ( < 3 characters)
- A
- B
- C
- DDD
- EEE
- Fold each level starting from deepest
- Unfold each level again
Expected result
A list line with a .HyperMD-list-line
class.
Actual result
A list line with just the .cm-line
class. The issue disappears for strings longer than 4 characters.
Environment
- SYSTEM INFO:
Obsidian version: v1.1.9
Installer version: v1.0.0
Operating system: Windows 10 Home 10.0.19045
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: Minimal v6.1.9
Snippets enabled: 1
Restricted mode: off
Plugins installed: 18
Plugins enabled: 0
Additional information
-
Add list
-
Fold each level starting by deepest
-
Unfold again
-
Issue dissappears for 4> characters