Skip to content

Commit

Permalink
fix: slider height bug (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin authored Nov 23, 2023
1 parent 30b9fa2 commit 5d61aef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions source/sass/component/_segment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ $c-segment-image-background-color: var(--c-segment-image-background-color, $colo
}
}

&.c-segment--slider {
&.c-segment--card {
min-height: unset;
}
}

/**
* Responsive
*/
Expand Down
1 change: 0 additions & 1 deletion source/sass/component/_slider_item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ $c-slider-item-container-max-width: calc(#{$base} * 118) !default;
position: relative;
width: 100%;
max-width: $c-slider-max-width;
max-height: 80vh;
border-radius: $c-slider-border-radius;

.c-slider__item__container {
Expand Down

0 comments on commit 5d61aef

Please sign in to comment.