Repository navigation
fix(yasgui): even out the side panel spacing around its buttons - #232
Merged
Merged
Conversation
The icon rail had 12px on the left of its buttons but only 2px on the right, next to the card. Give the rail 12px on both sides, and drop the open panel's left padding from 16px to 12px to match. Closes #231
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.
Requested by Mathias · project thread
Before: the icon rail on the left had 14px between the window edge and its buttons, but only 2px between the buttons and the editor card. The open panel used 16px on the left and 12px on the right.
After: the rail buttons have 12px on both sides (the rail grows from 52px to 60px, and its buttons now line up under the MatGUI glyph), and the open panel uses 12px on both sides too, matching the 12px gap the card keeps from the right edge of the window.
How: two padding values in
packages/yasgui/src/sidePanel/SidePanel.scss. Checked in the dev server with Chromium at 1400px wide, with the panel closed and open.Closes #231
Generated by Claude Code