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

Fix centering of settings panel and toolbar icons #354

Merged
merged 2 commits into from
May 22, 2024

Conversation

askoufis
Copy link
Contributor

The element wrapping these icons wasn't really doing anything, other than causing the icons to be laid out in flow layout, resulting in extra bottom padding because of line height. Rather than setting line-height: 0 on the wrapping elements, I just removed them so the icons are now using flex, so they don't end up with the line height padding.

Before:
before 1
before 2

After:
after 1
after 2

@askoufis askoufis requested a review from a team as a code owner May 22, 2024 04:49
Copy link

changeset-bot bot commented May 22, 2024

🦋 Changeset detected

Latest commit: 43be034

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
playroom Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@askoufis askoufis merged commit 92a0039 into master May 22, 2024
6 checks passed
@askoufis askoufis deleted the fix-icon-centering branch May 22, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants