Skip to content

Commit

Permalink
fix(Slider): remove side padding
Browse files Browse the repository at this point in the history
  • Loading branch information
aeksandla committed Sep 20, 2023
1 parent a909454 commit c2e7661
Show file tree
Hide file tree
Showing 2 changed files with 6 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
3 changes: 2 additions & 1 deletion src/blocks/Slider/Slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c2e7661

Please sign in to comment.