Skip to content

Commit

Permalink
fix(checkbox-radio-buttons): fix slots display to align smaller texts…
Browse files Browse the repository at this point in the history
… vertically
  • Loading branch information
manoncarbonnel authored and dpellier committed Jan 8, 2024
1 parent 4fe489d commit c539787
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
cursor: pointer;
width: fit-content;

> ::slotted(span) {
display: grid;
}

.checkbox-button {
border-style: solid;
border-radius: var(--ods-size-border-radius-01);
Expand Down Expand Up @@ -41,11 +45,6 @@
}
}


slot {
display: block;
}

// apply the theme template for the component
@include ods-theme-component {
@include osds-checkbox-button-theme-color;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
align-items: center;
width: fit-content;

> ::slotted(span) {
display: grid;
}

.radio-button {
position:relative;
border-style: solid;
Expand Down Expand Up @@ -44,10 +48,6 @@
}
}

slot {
display: block;
}

// apply the theme template for the component
@include ods-theme-component {
@include osds-radio-button-theme-color;
Expand Down

0 comments on commit c539787

Please sign in to comment.