From 27d0f6ca32532f01b4a8c4d0506a3b0acd45be41 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Wed, 12 Jul 2023 17:32:56 +0200
Subject: [PATCH] hotfix - fix gallery image alignments and size

---
 assets/sass/_theme/blocks/gallery.sass | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/assets/sass/_theme/blocks/gallery.sass b/assets/sass/_theme/blocks/gallery.sass
index 467ff74f..03824333 100644
--- a/assets/sass/_theme/blocks/gallery.sass
+++ b/assets/sass/_theme/blocks/gallery.sass
@@ -31,7 +31,7 @@
 
     &--grid
         .gallery
-            align-items: start
+            align-items: end
             @include in-page-with-sidebar
                 @include grid(3, desktop, half($grid-gutter), half($grid-gutter))
             @include in-page-without-sidebar
@@ -82,10 +82,7 @@
             &__slide
                 flex-shrink: initial
                 &:last-child
-                    min-width: 100%
                     padding-right: 20%
-                    img
-                        max-width: 100%
             figure
                 margin-right: half($grid-gutter)
                 picture
@@ -100,11 +97,8 @@
                         img
                             height: 70vh
                             width: auto
-                            height: auto
                             max-width: none
-                            @include in-page-without-sidebar
-                                height: 70vh
-                                max-width: none
+
             &__arrows
                 margin-left: -18px
                 order: 2
-- 
GitLab