Skip to content

Add configurable font size and row height for commit table#26

Open
Pwuts wants to merge 1 commit intogit-hub-tig:masterfrom
Pwuts:feat/table-row-height-font-size
Open

Add configurable font size and row height for commit table#26
Pwuts wants to merge 1 commit intogit-hub-tig:masterfrom
Pwuts:feat/table-row-height-font-size

Conversation

@Pwuts
Copy link
Copy Markdown

@Pwuts Pwuts commented Mar 18, 2026

Summary

  • Adds two new settings under Git-graph > Graph:
    • git-graph.graph.fontSize — font size in pixels (default: 13, range: 8–24)
    • git-graph.graph.rowHeight — row height in pixels (default: 24, range: 16–48)
  • The graph canvas grid is automatically derived from the row height setting, so the graph lines stay aligned with the table rows
  • CSS uses custom properties with sensible fallbacks

Test plan

  • Open settings, search "git graph font size" and "git graph row height" — both appear under Git-graph > Graph
  • Change row height (e.g. to 32) → reload Git Graph → rows are taller, graph lines align
  • Change font size (e.g. to 16) → reload Git Graph → text is larger
  • Default values (13px font, 24px row height) match the original appearance

🤖 Generated with Claude Code

Adds two new settings under Git-graph › Graph:
- `git-graph.graph.fontSize` (default: 13, range: 8–24)
- `git-graph.graph.rowHeight` (default: 24, range: 16–48)

These control the font size and line height of rows in the commit
table, and the graph grid is automatically adjusted to match.

Also fixes a pre-existing trailing whitespace lint warning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Pwuts
Copy link
Copy Markdown
Author

Pwuts commented Mar 18, 2026

Before (13/24px; default)

Schermafdruk van 2026-03-18 13-57-16

After (14/28px)

Schermafdruk van 2026-03-18 14-01-36

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