Skip to content

Conversation

@joshblack
Copy link
Member

Closes #2500

This PR removes an extra equality check that was added in: #2360 that asserted on the label type. I believe I mistakenly added this when narrowing the TS types but I don't believe that it is needed for TS and ultimately causes the layout to break for Checkbox.

Screenshots

Before

image

After

image

@joshblack joshblack requested review from a team and mperrotti November 1, 2022 16:05
@changeset-bot
Copy link

changeset-bot bot commented Nov 1, 2022

🦋 Changeset detected

Latest commit: 7bf343e

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

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 78.81 KB (-0.01% 🔽)
dist/browser.umd.js 79.45 KB (-0.01% 🔽)

@joshblack joshblack temporarily deployed to github-pages November 1, 2022 16:13 Inactive
@joshblack joshblack temporarily deployed to github-pages November 1, 2022 16:24 Inactive
@joshblack joshblack merged commit cbcc022 into main Nov 1, 2022
@joshblack joshblack deleted the fix/update-checkbox-padding branch November 1, 2022 16:28
@primer-css primer-css mentioned this pull request Nov 1, 2022
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.

Checkbox no longer has padding styles

3 participants