Skip to content

Commit

Permalink
Fix NcCheckboxRadioSwitch
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Nov 7, 2023
1 parent c9a7dcb commit c3ff08a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default {
min-height: $clickable-area;
border-radius: $clickable-area;
box-sizing: content-box !important;
padding: 4px $icon-margin;
padding: 0px $icon-margin;
// Set to 100% to make text overflow work on button style
width: 100%;
// but restrict to content so plain checkboxes / radio switches do not expand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,10 @@ export default {
&:not(:first-of-type) {
border-left: 0!important;
}
> .checkbox-content {
padding: 4px $icon-margin;
}
}
&--button-variant-h-grouped :deep(.checkbox-radio-switch__text) {
text-align: center;
Expand Down

0 comments on commit c3ff08a

Please sign in to comment.