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

Bug fix: Removing complex padding calc on kbd #2651

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Conversation

jonrohan
Copy link
Member

What are you trying to accomplish?

Before

CleanShot 2024-06-25 at 10 48 29@2x

After

CleanShot 2024-06-25 at 10 45 14@2x

What approach did you choose and why?

When transitioning from scss math to css calc, the padding was subtracting and adding too much since the size changed from pixels to rems.

Can these changes ship as is?

  • Yes, this PR does not depend on additional changes. 🚢

@jonrohan jonrohan requested a review from a team as a code owner June 25, 2024 17:50
@jonrohan jonrohan requested a review from tbenning June 25, 2024 17:50
Copy link

changeset-bot bot commented Jun 25, 2024

🦋 Changeset detected

Latest commit: eece7de

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

@jonrohan jonrohan merged commit e329973 into main Jun 25, 2024
11 checks passed
@jonrohan jonrohan deleted the kbd_padding_fix branch June 25, 2024 17:52
@primer primer bot mentioned this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant