Skip to content

Commit

Permalink
fix: selectors: fix selectors getting squished in certain scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
ychhabra-eightfold committed Aug 12, 2022
1 parent 008f3bd commit 731ce36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/CheckBox/checkbox.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@
border: $space-xxxs solid var(--grey-color-70);
border-radius: $corner-radius-xs;
height: $checkmark-medium-height;
width: $checkmark-medium-width;
min-height: $checkmark-medium-height;
min-width: $checkmark-medium-width;
left: 0;
position: relative;
top: 0;
transition: all $motion-duration-extra-fast $motion-ease-in-back
$motion-delay-s;
width: $checkmark-medium-width;

&:after {
border: solid var(--primary-color);
Expand Down
3 changes: 2 additions & 1 deletion src/components/RadioButton/radio.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@
border: $space-xxxs solid var(--grey-color-70);
border-radius: 50%;
height: $radio-medium-height;
width: $radio-medium-width;
min-height: $radio-medium-height;
min-width: $radio-medium-width;
position: relative;
transition: all $motion-duration-extra-fast $motion-ease-in-back
$motion-delay-s;
width: $radio-medium-width;

&:after {
top: $radio-medium-after-top;
Expand Down

0 comments on commit 731ce36

Please sign in to comment.