obsidian-outliner icon indicating copy to clipboard operation
obsidian-outliner copied to clipboard

[BUG] Vertical indentation lines don't line up properly when Show line number is turned on

Open zuzic-filip opened this issue 1 year ago • 1 comments

Describe the bug When Settings > Show line number and Outliner > Draw vertical indentation lines options are turned on, vertical lines do not align properly.

To Reproduce Steps to reproduce the behavior:

  1. Settings > Show line number > On
  2. Settings > Outliner > Draw vertical indentation lines > On
  3. Open note in editing mode
  4. Vertical lines are shifted to the left

Expected behavior Vertical lines to be aligned with bullet points in the same way as when Settings > Show line number is turned off.

Screenshots image

Environment (please complete the following information):

  • OS: HP Laptop, Windows 10
  • Obsidian Version: 1.4.16
  • Plugin Version: 4.8.0

Additional context None.

zuzic-filip avatar Oct 30 '23 16:10 zuzic-filip

I wonder if @vslinko can suggest what option(s) might be used in the outliner's css file, under ".outliner-plugin-vertical-lines"?

I think if there is a left/right padding/margin option for users to set, that will be great.

Best, Jake

jakemkc avatar Apr 05 '24 13:04 jakemkc