Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't add extra right margin to layout controls #172306

Merged
merged 1 commit into from Jan 25, 2023

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Jan 24, 2023

#168910 added a right margin between layout control elements. However this also added a right margin to the last element, which means that the layout controls are now all shifted left by 4px

This change switch to use gap instead so that there's a 4px margin between elements but no extra margin for the entire set of layout control buttons

Current is top, new is bottom:

Screenshot 2023-01-24 at 2 43 43 PM

microsoft#168910 added a right margin between layout control elements. However this also added a right margin to the last element, shifting the layout controls right by 4px

This change switch to use `gap` instead so that there's a 4px margin between elements but no extra margin for the set of layout control buttons
@mjbvz mjbvz added this to the January 2023 milestone Jan 24, 2023
@mjbvz mjbvz requested a review from sbatten January 24, 2023 22:48
@mjbvz mjbvz enabled auto-merge (squash) January 24, 2023 22:48
@mjbvz mjbvz merged commit dd427d8 into microsoft:main Jan 25, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants