Skip to content

Commit

Permalink
TMS-1021: Fix image alignment in image-carousel modal
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Mar 20, 2024
1 parent b6ce253 commit 2ad051b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- TMS-1021: Fix image alignment in image-carousel modal

## [1.54.6] - 2024-03-18

- TMS-996: Change bold image-caption text to normal
Expand Down
14 changes: 6 additions & 8 deletions assets/styles/ui-components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,28 +106,26 @@
}
}

.slick-slide{
padding:0.588rem;
.slick-slide {
align-self: center;
padding: 0.588rem;
}

.slick-current {
&:focus {
outline:0;
outline: 0;
.image-carousel__item {
outline: .125rem solid $white;
outline-offset: .25rem;
}
}
}

}

.image-carousel__item {
img {
@include until($desktop) {
max-height: 80vh;
object-fit: contain;
}
max-height: 80vh;
object-fit: contain;
}
}
}
Expand Down

0 comments on commit 2ad051b

Please sign in to comment.