Skip to content

Stop clipping descenders in tab titles and sidebar names - #423

Merged
broisnees merged 1 commit into
nightlyfrom
fix/tab-descenders
Nov 24, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
fix/tab-descenders

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Tab titles and sidebar list names cut off the bottom of g, j, p, q and y. Each label truncates (overflow hidden) inside a line box no taller than the text, and the descenders hang below it.

  • Tabs: the title gets leading-normal; the tab's height is set by the bar, so nothing moves.
  • Sidebar lists (tables, views, databases, objects, saved queries, the tree): the label keeps leading-4, because the table list's virtual scroller measures its stride from probe rows laid out with it. The clip box grows by 4px each way with py-1 -my-1, so layout is unchanged.
  • One schema timeline label had the same leading-none plus truncate pairing.

Checked in the app on Linux with descender-heavy names in the tabs and the table list: nothing clipped, row spacing unchanged. npm test, svelte-check and design lint pass.

Not merged yet: I'm holding releases until I say so, and the nightly workflow also runs on a schedule.

The labels truncate (overflow hidden) inside a line box no taller than
the text, so the bottom of g, j, p, q and y was cut off. Tab titles get
a normal line height. The sidebar rows keep their 16px line, since the
virtual list measures its stride from probe rows with that line, and
the clip box grows by 4px each way with a matching negative margin.
@broisnees broisnees added the release:skip Merge into nightly without a version bump (docs, CI, chores) label Nov 24, 2026
@broisnees
broisnees merged commit 1c914f5 into nightly Nov 24, 2026
1 check passed
@broisnees
broisnees deleted the fix/tab-descenders branch November 24, 2026 15:20
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release:skip Merge into nightly without a version bump (docs, CI, chores)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant