diff --git a/assets/sass/_theme/blocks/gallery.sass b/assets/sass/_theme/blocks/gallery.sass index 03824333a2aab65b62ffb189a15e0a8fd46a622d..ad73aa913006adfb9e889b18d892750e833cc45c 100644 --- a/assets/sass/_theme/blocks/gallery.sass +++ b/assets/sass/_theme/blocks/gallery.sass @@ -85,6 +85,10 @@ padding-right: 20% figure margin-right: half($grid-gutter) + @include media-breakpoint-down(desktop) + display: flex + flex-direction: column + justify-content: end picture img // FIXME Arnaud: I would like images at constant height, can't manage to get it right. @@ -92,9 +96,7 @@ width: auto height: auto max-width: calc(100vw - #{$grid-gutter-sm} * 2) - @include media-breakpoint-up(desktop) - picture - img + @include media-breakpoint-up(desktop) height: 70vh width: auto max-width: none