Skip to content

Commit

Permalink
TMS-1021: Remove image carousel modal max-height (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi authored Mar 26, 2024
1 parent bfb4fdc commit d2f63a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [1.3.3] - 2024-03-26

- TMS-1013: Add event weekly entry dates to event partial
- TMS-1021: Remove image carousel modal max-height

## [1.3.2] - 2024-03-18

Expand Down
27 changes: 11 additions & 16 deletions assets/styles/layouts/_image-carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
display: inline-block;
overflow: hidden;
max-width: 70vw;

img {
object-fit: contain;
clip-path: circle(closest-side);
Expand All @@ -36,11 +36,11 @@
}


&__modal-control{
&__modal-control {

&.slick-arrow {
background-color: transparent;
border:none;
border: none;

.icon {
fill: $white;
Expand All @@ -64,7 +64,7 @@
right: 0;
}
}

.image-carousel__item {
display: flex !important;
flex-direction: column;
Expand All @@ -76,33 +76,28 @@
width: auto;
}
}
.img-wrapper{
flex:2 1 auto;

.img-wrapper {
flex :2 1 auto;
max-height: 100%;
height:auto;
height: auto;
min-width: 0;
min-height: 50%;
display: flex;
align-items: flex-end;

img{
img {
max-width: 100%;
max-height: 100% !important;
min-height: 100px;
object-fit: contain;
}
}

.image-block__meta {
flex:1 1 auto;
flex: 1 1 auto;
width: 100%;
}


}


}

.slick-track .modal-trigger:focus {
Expand Down

0 comments on commit d2f63a5

Please sign in to comment.