Repository navigation
fix(web): thread title no longer slides under the sidebar toggle on mac - #246
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This branch was previously deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
On macOS, folding the sidebar to its icon rail put the thread title under the sidebar toggle. The toggle moves past the traffic lights to x=90, but the title padding only accounted for a fully hidden sidebar, so in rail state the title started at x=75.
In rail state, titlebar rows now pad to whichever is larger: their usual padding, or the toggle's right edge measured from the rail. On Windows, Linux and web the toggle fits inside the rail, so those layouts do not change. The maximized right panel header gets the same fix.
Screenshots come from the web app with the sidebar folded and the macOS toggle inset applied. macOS draws the traffic lights, so they do not appear here.
Checked by rendering the built CSS in Chromium with the sidebar's real variables: