Skip to content

The folding arrow too close to line number when fold headings #865

@Lasky-Liu

Description

@Lasky-Liu

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

Yes

Minimal theme version

8.0.4

Describe the bug

Hi,

I noticed that when collapsing a heading in Obsidian using the Minimal theme, the folding arrow that indicates the collapsed content appears too close to the line number in the editor. This makes it visually cramped and a bit hard to distinguish.

It seems like the spacing between the line number and the folding arrow could be increased for better clarity.

Important detail: This issue only occurs when the note contains more than 10,000 lines.

Steps to reproduce:

  1. Open a note contains more than 10,000 lines with several headings.

  2. Collapse a heading by tapping twice the heading.

  3. Observe the distance between the arrow and the line number.

Expected behavior:
The folding arrow should have a little more space from the line number for better readability.

Debug info

SYSTEM INFO:
Obsidian version: v1.9.12
Installer version: v1.9.10
Operating system: Windows 10 Enterprise 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: Minimal v8.0.4
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions