Skip to content

Commit

Permalink
Merge branch 'TMS-1021' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Mar 21, 2024
2 parents 72c5ecb + ac6ca15 commit a71d72d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- TMS-1021: Remove image carousel modal max-height

## [1.6.5] - 2024-03-18

- TMS-1017: Add image alt-text to imported news single-article

## [1.6.4] - 2023-10-23
Expand Down
29 changes: 12 additions & 17 deletions assets/styles/layouts/_image-carousel.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.image-carousel {

&__modal-control{
&__modal-control {

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

.icon {
fill: $white;
Expand All @@ -21,7 +21,7 @@

@include until($tablet) {
.slick-prev {
left:0;
left: 0;
}

.slick-next {
Expand All @@ -30,43 +30,38 @@
}

.slick-slide {
padding:0 !important;
padding: 0 !important;
}

.image-carousel__item {
height: 80vh;
display: flex !important;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
}
.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%;
}


}


}

.modal-content {
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Theme Name: TMS Theme Sara Hilden
* Description: Tampere Multisite Sara Hilden Theme
* Version: 1.6.3
* Version: 1.6.5
* Author: Geniem
* Author URI: https://geniem.fi
* Template: tms-theme-base
Expand Down

0 comments on commit a71d72d

Please sign in to comment.