Skip to content

Commit

Permalink
*fix sass nested rules (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sodik authored Jul 18, 2024
1 parent 4daa657 commit 60cfe73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/Checkbox.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
box-sizing: border-box;
overflow: hidden;

@include c.typographyBodySmall;

* {
box-sizing: border-box;
}

@include c.typographyBodySmall;

// hide native checkbox
input {
@include h.visuallyHidden;
Expand Down
12 changes: 6 additions & 6 deletions packages/ui/src/Slider.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ ul.markDescriptions {
margin: $thumbWidth 0;

input[type='range'] {
&::-webkit-slider-runnable-track,
&::-webkit-slider-thumb,
& {
appearance: none;
}

z-index: c.$zIndex100;
outline: none;
background: none;
Expand All @@ -132,6 +126,12 @@ ul.markDescriptions {
margin: 0;
justify-self: center;

&::-webkit-slider-runnable-track,
&::-webkit-slider-thumb,
& {
appearance: none;
}

// Style the track
&::-webkit-slider-runnable-track {
@include track;
Expand Down

0 comments on commit 60cfe73

Please sign in to comment.