Skip to content

Tree lines: in line by "No pages inside", and still joins in a narrow sidebar - #213

Merged
LoopyDev merged 1 commit into
mainfrom
fix/tree-lines-alignment
Nov 14, 2026
Merged

LoopyDev merged 1 commit into
mainfrom
fix/tree-lines-alignment

Conversation

@LoopyDev

Copy link
Copy Markdown
Owner

Follow-up to 212. This fix was pushed to that branch after the PR had been merged, so it never reached main.

  • "No pages inside" had no border, while the page rows have a transparent 1px one. Its tree lines sat a pixel left of the lines above and below, and its words ran into the join. It now has the same border, and its words start where a page title would.
  • In a narrow sidebar or a deep tree, lines ran down from the middle of the icon above. As the levels closed up, the arm out to the next icon (├─) shrank to 3–4px, so the lines just touched the icons. They now move towards the icon's left side as the step shrinks, which keeps the arm at least 6px. Wide sidebars look the same as before.

Tests:

  • The "No pages inside" join lines up with its page's line, and its words start clear of the arm.
  • At the narrowest sidebar, every arm is at least 5px.

Both fail on main.

🤖 Generated with Claude Code

… sidebar

That row had no border (the page rows have a transparent one), so its lines sat a pixel off,
and its words ran into the join. Lines ran down from the middle of the icon above, so as the
levels closed up the arm out to the next icon shrank to nothing; they move towards the icon's
left side instead, keeping the arm at least 6px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LoopyDev
LoopyDev merged commit 5c66482 into main Nov 14, 2026
7 checks passed
@LoopyDev
LoopyDev deleted the fix/tree-lines-alignment branch November 14, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant