From c2e76614beb740e1d8b147abafd115fb34462491 Mon Sep 17 00:00:00 2001 From: aeksandla Date: Wed, 20 Sep 2023 12:18:03 +0300 Subject: [PATCH] fix(Slider): remove side padding --- src/blocks/HeaderSlider/HeaderSlider.scss | 4 ++++ src/blocks/Slider/Slider.scss | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/blocks/HeaderSlider/HeaderSlider.scss b/src/blocks/HeaderSlider/HeaderSlider.scss index a456bf7bd..2d7483b27 100644 --- a/src/blocks/HeaderSlider/HeaderSlider.scss +++ b/src/blocks/HeaderSlider/HeaderSlider.scss @@ -61,6 +61,10 @@ $block: '.#{$ns}header-slider-block'; padding-left: 0; padding-right: 0; } + + .#{$ns}header-block__container-fluid { + padding-left: $indentXS + $indentXXXS; + } } .slick-track { diff --git a/src/blocks/Slider/Slider.scss b/src/blocks/Slider/Slider.scss index 56c6b8f59..16b326a32 100644 --- a/src/blocks/Slider/Slider.scss +++ b/src/blocks/Slider/Slider.scss @@ -316,9 +316,10 @@ $block: '.#{$ns}SliderBlock'; } .slick-slide { - /* stylelint-disable declaration-no-important */ + // stylelint-disable declaration-no-important padding-right: 0 !important; padding-left: 0 !important; + /* stylelint-enable declaration-no-important */ &:last-child { padding-right: 0;