Repository navigation
Stop clipping descenders in tab titles and sidebar names - #423
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
leading-normal; the tab's height is set by the bar, so nothing moves.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 withpy-1 -my-1, so layout is unchanged.leading-noneplustruncatepairing.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.