Skip to content

Commit b27a309

Browse files
authored
Merge pull request #5858 from nextcloud-libraries/backport/5839/next
[next] NcActionCheckbox: align with NcActionText
2 parents 5704773 + caa9602 commit b27a309

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)