Skip to content

Commit

Permalink
style: redefine margin
Browse files Browse the repository at this point in the history
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
  • Loading branch information
GVodyanov and susnux authored Jul 22, 2024
1 parent d2a67ae commit 211f17f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/NcActionCheckbox/NcActionCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export default {
padding-right: $icon-margin !important;

&::before {
margin: 0 10px 0 8px !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 211f17f

Please sign in to comment.