Skip to content

Commit

Permalink
fix: adjust display for content
Browse files Browse the repository at this point in the history
Signed-off-by: DorraJaouad <[email protected]>
  • Loading branch information
DorraJaouad committed Apr 25, 2024
1 parent 11ed9f0 commit 2ef656b
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 2ef656b

Please sign in to comment.