From 4b5b0e0110c59450039540c08c9d3d481fda1d38 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 17 Jun 2021 16:23:48 +0500 Subject: [PATCH] 1234 --- .../assets/css/components/2-layout/newsSlider.scss | 2 +- themes/modern2/assets/css/main.css | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/themes/modern2/assets/css/components/2-layout/newsSlider.scss b/themes/modern2/assets/css/components/2-layout/newsSlider.scss index 02cd0a8ba..1041f788f 100755 --- a/themes/modern2/assets/css/components/2-layout/newsSlider.scss +++ b/themes/modern2/assets/css/components/2-layout/newsSlider.scss @@ -44,7 +44,7 @@ left: 5px; width: calc(100% - 10px); height: calc(100% - 10px); - background: rgb(0, 0, 0); + background: rgb(0, 0, 0); background: linear-gradient( 0deg, rgba(0, 0, 0, 1) 0%, diff --git a/themes/modern2/assets/css/main.css b/themes/modern2/assets/css/main.css index 3e87d1d97..ef314b1f6 100755 --- a/themes/modern2/assets/css/main.css +++ b/themes/modern2/assets/css/main.css @@ -997,11 +997,15 @@ li { z-index: 1; } .newsSlider .newsSlider__item-content { + flex-direction: column; + justify-content: space-between; position: absolute; - left: 20px; - bottom: 20px; - width: calc(100% - 40px); + left: 30px; + top: 30px; + width: calc(100% - 60px); z-index: 2; + height: calc(100% - 60px); + display: flex; } .newsSlider .newsSlider__item-content-date { display: flex; @@ -1026,9 +1030,6 @@ li { color: #ffffff; font-size: 16px; line-height: 25px; - height: 50px; - overflow: hidden; - text-overflow: ellipsis; font-weight: 700; display: block; }