From b00fbd031eaf7853a02dc2d0eb9ccb5dd3b9a61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 31 Mar 2020 20:02:27 +0200 Subject: [PATCH] Viewer: Fix Carousel elements positioning --- src/style/pages/_viewer.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/style/pages/_viewer.scss b/src/style/pages/_viewer.scss index 393250d..8294313 100644 --- a/src/style/pages/_viewer.scss +++ b/src/style/pages/_viewer.scss @@ -77,7 +77,7 @@ } // Landscape @media screen and (max-width: $screen-lg) and (orientation: landscape) { - width: 60%; + width: 95%; } // Gallery @@ -138,22 +138,22 @@ left: 0; top: -28vw; width: 100%; - height: 42vw; - max-height: 232px; + height: 40vw; overflow: hidden; @include breakpoint (sm) { top: auto; - right: 176px; + right: 8vw; left: auto; - // bottom: -240px; + bottom: -14.5vw; width: auto; - font-size: rem(240px); + height: 16.8vw; + font-size: 21vw; text-align: right; } @include breakpoint (md) { - // bottom: -288px; - bottom: -160px; + bottom: -180px; + height: 232px; font-size: rem(300px); } }