Skip to content

Commit 24bb9ae

Browse files
committed
remove additional pixel from checkbox on checkable button
1 parent 2027870 commit 24bb9ae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.changeset/soft-waves-invite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris': patch
3+
---
4+
5+
Fixed position of Bulk Action Checkbox

polaris-react/src/components/CheckableButton/CheckableButton.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ $button-vertical-padding: calc(
8585
pointer-events: none;
8686
height: var(--p-choice-size);
8787
width: var(--p-choice-size);
88-
margin-left: calc(
89-
-1 * ((var(--p-space-2) + var(--p-space-025))) - var(--p-control-border-width)
90-
); // 1px accounts for border
88+
margin-left: calc(-1 * (var(--p-space-2) + var(--p-space-025)));
9189
}
9290

9391
.Label {

0 commit comments

Comments
 (0)