From b37c9520845a1e144db187e34401c843ed3f8408 Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Mon, 25 Jul 2022 12:20:55 +0200 Subject: [PATCH] Gallery --- assets/sass/_theme/blocks/gallery.sass | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/assets/sass/_theme/blocks/gallery.sass b/assets/sass/_theme/blocks/gallery.sass index 084a2da9..756fbd78 100644 --- a/assets/sass/_theme/blocks/gallery.sass +++ b/assets/sass/_theme/blocks/gallery.sass @@ -1,6 +1,7 @@ .block-gallery .top @include grid(2, md) + align-items: center .description width: col(7) // @extend .col-md-7 @@ -52,6 +53,9 @@ figure max-width: 80% + min-width: 80% // to check + @include in-page-without-aside + min-width: 50% &:last-of-type max-width: 100% padding-right: 20% @@ -77,7 +81,13 @@ &__arrow &--prev, &--next + @include button-reset + @include icon("arrow-left", before) height: 48px padding: 0 position: static width: 48px + svg + display: none + &--next + @include icon("arrow-right", before) -- GitLab