Skip to content

Commit 23b4c99

Browse files
authored
fix: enforce auto maring on checkbox and radio input (#10553)
1 parent ccbe967 commit 23b4c99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/field-base/src/styles/checkable-base-styles.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,14 @@ export const checkable = (part, propName = part) => css`
7878
/* visually hidden */
7979
::slotted(input) {
8080
cursor: inherit;
81-
margin: 0;
8281
align-self: stretch;
8382
appearance: none;
8483
cursor: var(--_cursor);
8584
/* Ensure minimum click target (WCAG) */
8685
width: 2px;
8786
height: 2px;
8887
scale: 12;
89-
margin: auto;
88+
margin: auto !important;
9089
}
9190
9291
/* Control container (checkbox, radio button) */

0 commit comments

Comments
 (0)