From e6e7cf44f57159725620e58a1d2851feaf6b79f2 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Wed, 8 Sep 2021 09:32:58 +0200 Subject: [PATCH] moved styles into css file, modified slider heigth for proper rendering --- asset/css/carousel.css | 6 ++++- .../common/block-layout/simple-carousel.phtml | 26 +++++++------------ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/asset/css/carousel.css b/asset/css/carousel.css index eb552d6..0fcd320 100644 --- a/asset/css/carousel.css +++ b/asset/css/carousel.css @@ -3,7 +3,7 @@ flex-wrap: nowrap !important; } .siema { - margin: 1rem 0; + margin: 0; background-color: #000; position: relative; } @@ -12,6 +12,7 @@ display: block; margin-left: auto; margin-right: auto; + width: 100%; } #siema-ui { @@ -49,3 +50,6 @@ margin: 0; align-self: center; } +.archive-carousel-container { + position: relative; +} diff --git a/view/common/block-layout/simple-carousel.phtml b/view/common/block-layout/simple-carousel.phtml index 53567ee..86e9c99 100644 --- a/view/common/block-layout/simple-carousel.phtml +++ b/view/common/block-layout/simple-carousel.phtml @@ -7,12 +7,7 @@ ?> -
-
+