Skip to content

Commit

Permalink
fix(components/stepper): compact variation - displaying progress on f…
Browse files Browse the repository at this point in the history
…irst step (#1582)
  • Loading branch information
tiloyi committed Apr 25, 2024
1 parent 9bd4650 commit 4d9623e
Show file tree
Hide file tree
Showing 2 changed files with 1,113 additions and 1,051 deletions.
14 changes: 9 additions & 5 deletions packages/styles/components/_c.stepper.scss
Expand Up @@ -48,11 +48,6 @@
right: 0;
}

&:first-child::before,
&:last-child::after {
content: none;
}

&--current,
&--validated {
#{$parent} {
Expand Down Expand Up @@ -141,6 +136,15 @@
color: $color-stepper-title;
}

&:not(#{$parent}--compact):not(#{$parent}--shrinked) {
#{$parent}__item {
&:first-child::before,
&:last-child::after {
content: none;
}
}
}

&--compact {
@include set-compact-variation($parent);
}
Expand Down

0 comments on commit 4d9623e

Please sign in to comment.