Skip to content

Commit

Permalink
fix(core/checkbox, core/radiobutton): remove min-height (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux authored Oct 6, 2023
1 parent 0409fc8 commit 976fc45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/scss/components/_checkboxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@
width: 1px;
max-height: 1px;
max-width: 1px;
min-height: 0px;
min-width: 0px;
overflow: hidden;
position: absolute;
white-space: nowrap;
appearance: none;
}

[type='checkbox']:not(:checked) + label,
Expand Down
5 changes: 5 additions & 0 deletions packages/core/scss/components/_radiobuttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@
clip-path: inset(50%);
height: 1px;
width: 1px;
min-height: 0px;
min-width: 0px;
max-height: 1px;
max-width: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
appearance: none;
}

[type='radio']:not(:checked) + label,
Expand Down

0 comments on commit 976fc45

Please sign in to comment.