-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[CheckableButton] Fix position of Checkbox #6913
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
Conversation
size-limit report 📦
|
| margin-left: calc( | ||
| -1 * ((var(--p-space-2) + var(--p-space-025))) - var(--p-control-border-width) | ||
| ); // 1px accounts for border | ||
| -1 * (var(--p-space-2) + var(--p-space-025)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oof. I wish this used a token.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would probably be a one off token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mean we should add it now. This should be refactored in the future to not do this. Ship it, this alignment is important.
24bb9ae to
c3e242c
Compare
c3e242c to
c3ccde6
Compare
|
My previous fixed caused an issue with ResourceItem. This will fix it. |
* main: Fix casing of Active status icon and URL for the Figma icon library (#6942) Remove /examples from sitemap (#6935) Add missing icon Add missing icon Fix link to tokens api Move tokens API to match other api versions (#6891) Update contribution guidelines with ux review feedback (#6310) Fix link (#6930) feat(polaris-icons): Add fulfillment icons (FulfillmentFulfilledMajor, FulfillmentOnHoldMajor) (#6928) remove additional pixel from checkbox on checkable button (#6913) Add status code and content type header for og-image OG image api (#6858) Adding clarification for `About` native section (#6887) Replaced glob with globby (#6881) Version Packages (#6801) Fix @shopify/polaris link version Get the next @shopify/polaris version from the changset info (#6882) [polaris.shopify.com] Update space documentation visual example (#6885) Adds `About Polaris` page to polaris.shopify.com (#6857) removing slug from design-patterns.md (#6884)
WHY are these changes introduced?
WHAT is this pull request doing?
Removed the extra pixel when the checkbox is checked.
🎩 checklist
README.mdwith documentation changes