File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,7 @@ export default {
206
206
207
207
&::before {
208
208
margin-block: 0 !important;
209
- // 16px is the width of the checkbox including the border
210
- margin-inline: calc((var(--default-clickable-area) - 16px) / 2) !important;
209
+ margin-inline: calc((var(--default-clickable-area) - 14px) / 2) !important;
211
210
}
212
211
}
213
212
Original file line number Diff line number Diff line change @@ -199,10 +199,9 @@ export default {
199
199
padding: 0 !important;
200
200
padding-right: $icon-margin !important;
201
201
202
- // radio-width is 12px, border is 2
203
- // (44 - 14 - 2) / 2 = 14
202
+ // (34 -14) / 2 = 10 same as ncactioncheckbox
204
203
&::before {
205
- margin: 0 14px 0 !important;
204
+ margin: calc((var(--default-clickable-area) - 14px) / 2) !important;
206
205
}
207
206
}
208
207
You can’t perform that action at this time.
0 commit comments