Skip to content

Commit

Permalink
Merge pull request #867 from helsingborg-stad/fix/slider-post-height
Browse files Browse the repository at this point in the history
fix: reset and added case
  • Loading branch information
NiclasNorin authored Nov 23, 2023
2 parents 6a65e2b + 0145095 commit acb801f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/sass/component/_slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ $c-slider-max-width: calc(#{$container-width-wide} - #{$c-slider-inset}) !defaul
// Posts as slider
&.c-slider--post {

.c-slider__item {
max-height: unset;
}

.c-slider__shadow {
.c-slider__container {
filter: $drop-shadow-2;
Expand Down
1 change: 1 addition & 0 deletions source/sass/component/_slider_item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ $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 acb801f

Please sign in to comment.