Skip to content

Commit

Permalink
fix: remove mobile padding in header slider (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeksandla authored Sep 27, 2023
1 parent ed935f2 commit 7f8c469
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/blocks/HeaderSlider/HeaderSlider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 6 additions & 1 deletion src/blocks/Slider/Slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,12 @@ $block: '.#{$ns}SliderBlock';
}

.slick-slide {
padding-right: 0;
// to remove the indentation between slides
/* stylelint-disable declaration-no-important */
padding-right: 0 !important;
padding-left: 0 !important;
/* stylelint-enable declaration-no-important */

&:last-child {
padding-right: 0;
}
Expand Down

0 comments on commit 7f8c469

Please sign in to comment.