Skip to content
Snippets Groups Projects
Unverified Commit f2def485 authored by claraRigo's avatar claraRigo Committed by GitHub
Browse files

Gallerie carousel: Ajustement des hauteurs d'image (#587)

parent f266988b
No related branches found
No related tags found
Loading
......@@ -91,14 +91,12 @@
margin-right: calc(var(--grid-gutter) / 2)
picture
img
// FIXME Arnaud: I would like images at constant height, can't manage to get it right.
max-height: $block-gallery-carousel-max-height
height: $block-gallery-carousel-max-height
width: auto
height: auto
max-width: calc(100vw - #{var(--grid-gutter)} * 2)
max-width: none
@include media-breakpoint-up(desktop)
height: $block-gallery-carousel-max-height
height: $block-gallery-carousel-max-height-desktop
width: auto
max-width: none
@include in-page-without-sidebar
margin-right: var(--grid-gutter)
margin-right: var(--grid-gutter)
\ No newline at end of file
......@@ -106,8 +106,8 @@ $block-key_figures-number-font-size-xxl: pxToRem(80) !default
// Block gallery
$block-gallery-carousel-background: var(--color-background-alt) !default
$block-gallery-carousel-max-height: 70vh !default
$block-gallery-carousel-max-height: 40vh !default
$block-gallery-carousel-max-height-desktop: 60vh !default
// Block image
$block-image-max-height-with-sidebar: calc(100vh - var(--header-height)) !default
$block-image-max-height-without-sidebar: none !default
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment