Skip to content

Commit caa9602

Browse files
GVodyanovbackportbot[bot]
authored andcommitted
style(NcActionCheckbox): align with NcActionText
Signed-off-by: Grigory V <[email protected]>
1 parent 5704773 commit caa9602

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/NcActionCheckbox/NcActionCheckbox.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ export default {
204204
padding: 0 !important;
205205
padding-right: $icon-margin !important;
206206

207-
// checkbox-width is 12px, border is 2
208-
// (44 - 14 - 2) / 2 = 14
209207
&::before {
210-
margin: 0 14px 0 !important;
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;
211211
}
212212
}
213213

0 commit comments

Comments
 (0)