Skip to content

Commit

Permalink
fix(NcCheckboxRadioSwitch): Adjust styles
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Oct 18, 2023
1 parent 012b900 commit ca5fda8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue
Expand Up @@ -204,8 +204,6 @@ export default {
max-width: fit-content;
&__text {
line-height: 1.5;
&:empty {
// hide text if empty to ensure checkbox outline is a circle instead of oval
display: none;
Expand Down
Expand Up @@ -593,9 +593,11 @@ export default {
.checkbox-radio-switch {
display: flex;
align-items: center;
color: var(--color-main-text);
background-color: transparent;
font-size: var(--default-font-size);
padding: unset;
line-height: var(--default-line-height);
padding: 0;
&__input {
position: absolute;
Expand Down

0 comments on commit ca5fda8

Please sign in to comment.