Skip to content

Commit

Permalink
Merge pull request #5839 from nextcloud-libraries/fix/align-action-ch…
Browse files Browse the repository at this point in the history
…eckbox

NcActionCheckbox: align with NcActionText
  • Loading branch information
susnux authored Jul 23, 2024
2 parents 41b9f0f + 72b5f7e commit c5b0335
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NcActionCheckbox/NcActionCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ export default {
padding: 0 !important;
padding-right: $icon-margin !important;
// checkbox-width is 12px, border is 2
// (44 - 14 - 2) / 2 = 14
&::before {
margin: 0 14px 0 !important;
margin-block: 0 !important;
// 16px is the width of the checkbox including the border
margin-inline: calc((var(--default-clickable-area) - 16px) / 2) !important;
}
}
Expand Down

0 comments on commit c5b0335

Please sign in to comment.