Skip to content

Commit

Permalink
Apply ffoodd suggestions regarding spacings for between sm and lg
Browse files Browse the repository at this point in the history
  • Loading branch information
LE DIOURON Kevin committed Feb 26, 2021
1 parent 5a9c834 commit f059e6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
16 changes: 6 additions & 10 deletions scss/_stepped-process.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
@include media-breakpoint-up(sm) {
.stepped-process-item {
position: relative;
max-width: $step-item-max-width;
padding: $step-item-padding 0;
margin: 0;
filter: $step-item-drop-shadow;
Expand All @@ -77,10 +76,6 @@
padding-left: $step-item-padding-end;
}

&:last-child {
padding-right: $step-item-padding-end;
}

&:not(:last-child)::after {
position: absolute;
top: 0;
Expand All @@ -92,10 +87,6 @@
background-color: inherit;
clip-path: $step-item-arrow-shape;
}

&.active {
max-width: none;
}
}

@for $i from 1 through $stepped-process-max-items {
Expand All @@ -115,7 +106,6 @@
}

@include media-breakpoint-up(xl) {
.stepped-process-item,
.stepped-process-link {
max-width: none;
}
Expand All @@ -124,3 +114,9 @@
content: $step-link-marker-lg;
}
}

@include media-breakpoint-between("sm", "lg") {
.stepped-process-item.active {
flex: $stepped-process-max-items - 1;
}
}
1 change: 0 additions & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,6 @@ $back-to-top-icon-height: subtract(1rem, 1px) !default;
$stepped-process-max-items: 5 !default;
$stepped-process-counter: step !default; // Used as a counter name

$step-item-max-width: 3.75rem !default;
$step-item-margin-end: $border-width !default;
$step-item-padding: $spacer / 2 !default;
$step-item-bg: $black !default;
Expand Down

0 comments on commit f059e6d

Please sign in to comment.