Skip to content

Commit

Permalink
Merge pull request #5151 from nextcloud-libraries/fix/nc-checkbox-button
Browse files Browse the repository at this point in the history
fix(NcCheckboxRadioSwitch): On button style align the text vertically
  • Loading branch information
susnux committed Jan 26, 2024
2 parents 9c80f38 + 89c13cf commit 612385f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ export default {
&__text {
flex: 1 0;
display: flex;
align-items: center;
&:empty {
// hide text if empty to ensure checkbox outline is a circle instead of oval
Expand Down

0 comments on commit 612385f

Please sign in to comment.