Skip to content

Conversation

@dleroux
Copy link
Contributor

@dleroux dleroux commented Aug 10, 2022

WHY are these changes introduced?

before after
Screen Shot 2022-08-10 at 9 09 55 AM Screen Shot 2022-08-10 at 9 09 10 AM

WHAT is this pull request doing?

Removed the extra pixel when the checkbox is checked.

🎩 checklist

@dleroux dleroux requested a review from alex-page August 10, 2022 13:38
@github-actions
Copy link
Contributor

github-actions bot commented Aug 10, 2022

size-limit report 📦

Path Size
polaris-react-cjs 198.94 KB (0%)
polaris-react-esm 133.35 KB (0%)
polaris-react-esnext 188.58 KB (+0.01% 🔺)
polaris-react-css 41.81 KB (+0.02% 🔺)

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))
Copy link
Member

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.

Copy link
Contributor Author

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

Copy link
Member

@alex-page alex-page Aug 10, 2022

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.

@dleroux dleroux force-pushed the bulk-action-checkbox-shift branch 2 times, most recently from 24bb9ae to c3e242c Compare August 10, 2022 19:25
@dleroux dleroux force-pushed the bulk-action-checkbox-shift branch from c3e242c to c3ccde6 Compare August 10, 2022 19:43
@dleroux
Copy link
Contributor Author

dleroux commented Aug 10, 2022

My previous fixed caused an issue with ResourceItem. This will fix it.

@dleroux dleroux merged commit c788351 into main Aug 10, 2022
@dleroux dleroux deleted the bulk-action-checkbox-shift branch August 10, 2022 20:00
@github-actions github-actions bot mentioned this pull request Aug 10, 2022
sam-b-rose added a commit that referenced this pull request Aug 12, 2022
* 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)
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