Skip to content

Commit

Permalink
Merge pull request #5527 from nextcloud-libraries/fix/long-text-check…
Browse files Browse the repository at this point in the history
…boxes

fix(NcRichText): adjust display so long texts in checkboxes can be shown correctly
  • Loading branch information
DorraJaouad authored Apr 26, 2024
2 parents db948fc + 2ef656b commit 3febf1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,8 @@ export default {
}
&--button-variant-h-grouped :deep(.checkbox-radio-switch__text) {
text-align: center;
display: flex;
align-items: center;
}
&--button-variant-h-grouped &__content {
flex-direction: column;
Expand Down
3 changes: 0 additions & 3 deletions src/components/NcRichText/NcRichText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,4 @@ a:not(.rich-text--component) {
text-decoration: underline;
}
:deep(.checkbox-content__text) {
gap: 4px;
}
</style>

0 comments on commit 3febf1b

Please sign in to comment.