Skip to content

Commit

Permalink
feat(checkbox): add cehckbox width & height for different sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Sep 12, 2024
1 parent 08307d3 commit 5ceb103
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/assets/scss/components/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ $checkbox-line-height: 1.5 !default;
@each $name, $value in $sizes {
&--#{$name} {
font-size: var(--#{$prefix}checkbox-font-size-#{$name}, $value);

.o-chk__input {
width: var(--#{$prefix}checkbox-font-size-#{$name}, $value);
height: var(--#{$prefix}checkbox-font-size-#{$name}, $value);
}
}
}

Expand Down

0 comments on commit 5ceb103

Please sign in to comment.