When document is docked in sidebar ugly stripe appears in fold gutter

Steps to reproduce

(tested on a brand-new vault with default settings)

  • Drag the icon of the current document to one of the sidebars (left or right) to “dock” it there

  • SettingsEditor → toggle on Fold heading OR Fold indent OR both

  • an ugly stripe appears in the “fold gutter”

The stripe appears in either Light Mode or Dark Mode with the default theme.

Expected result

No ugliness appears when a document is docked in a sidebar while folding is enabled.

Actual result

An ugly stripe appears when a document is docked in a sidebar while folding is enabled.

Environment

  • Operating system: openSUSE Tumbleweed (Linux)

  • Obsidian version: 0.11.13 (insider build) (Linux AppImage version, installer version 0.11.9)


Additional information

Link to the screenshot at the top of this post: https://i.imgur.com/ei5kbYg.png

I noticed this as well. I had to override this CSS in app.css:

.CodeMirror-gutter.CodeMirror-linenumbers,
.CodeMirror-gutter.CodeMirror-foldgutter {
  background-color: var(--background-primary);
}