Obsidian-Code-Styler
Obsidian-Code-Styler copied to clipboard
Bug: Line numbers 1px gap and flicker on collapse if highlighted for devices with high DPI screens
Describe the bug
Line numbers 1px gap and flicker on collapse if highlighted for devices with high DPI screens
Steps to reproduce
Highlight multiple lines in a codeblock in reading mode
```test hl:2-4
line 1
line 2
line 3
line 4
line 5
```
Expected behaviour
There should be no gaps in the highlights or flickering in highlights when collapsing.
Current behaviour
There can be both gaps and flickering.
Environment
- Plugin Version: 1.0.0
- Obsidian Version: 1.3.5
- Platform: Desktop
- OS: macOS
Screenshots
Additional context
Upstream issue.
Due to a bug with position sticky
css implementation - see this issue.