Skip to content

Commit f6fc708

Browse files
authored
Merge pull request #1192 from ita-social-projects/develop
Develop
2 parents ab4f556 + 5d39c02 commit f6fc708

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

src/features/MainPage/InstagramBlock/InstagramBlock.component.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const InstagramBlock = () => {
2828

2929
const sliderProps = {
3030
infinite: true,
31-
swipe: windowSize.width < 1025,
3231
variableWidth: true,
3332
swipeOnClick: false,
3433
slidesToShow: 4,
@@ -70,4 +69,4 @@ const InstagramBlock = () => {
7069
);
7170
};
7271

73-
export default InstagramBlock;
72+
export default InstagramBlock;

src/features/SlickSlider/SlickSlider.styles.scss

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,22 @@
22
@use '@assets/sass/mixins/_utils.mixins.scss' as mut;
33
@use '@assets/sass/variables/_variables.colors.scss' as c;
44
@use "@assets/sass/variables/_variables.layers.scss" as l;
5-
65
@import "slick-carousel/slick/slick.css";
76
@import "slick-carousel/slick/slick-theme.css";
8-
97
@mixin slick-arrow-pseudo($direction, $margin) {
108
transition: .5s;
119
margin-left: pxToRem($margin);
1210
@include mut.sized(40px, 58px);
13-
1411
$path: "@assets/images/utils/#{$direction}DefaultSliderArrow.svg";
1512
content: url($path);
1613
}
1714

1815
.slick-next,
1916
.slick-prev {
2017
pointer-events: none;
21-
2218
&:hover:before {
2319
filter: brightness(25%);
2420
}
25-
2621
&:before {
2722
pointer-events: all;
2823
}
@@ -45,7 +40,6 @@
4540

4641
.slick-disabled {
4742
filter: c.$base-arrow-filter-color;
48-
4943
&:before {
5044
pointer-events: none;
5145
}
@@ -57,24 +51,21 @@ li.slick-active button:before {
5751

5852
.sliderClass {
5953
width: 100%;
60-
6154
.slider-item-container {
6255
display: flex !important;
6356
position: relative;
6457
flex-direction: column;
6558
&:focus,
6659
&:focus-visible {
67-
outline: none;
60+
outline: none;
6861
}
69-
7062
.left {
7163
position: absolute;
7264
width: 35%;
7365
height: 100%;
7466
left: 0;
7567
opacity: 0;
7668
}
77-
7869
.right {
7970
position: absolute;
8071
width: 35%;
@@ -87,11 +78,10 @@ li.slick-active button:before {
8778

8879
.slick-arrow {
8980
z-index: l.$slickArrow;
90-
opacity: .4;
81+
opacity: 1;
9182
filter: c.$selected-arrow-filter-color;
92-
9383
&:hover {
94-
opacity: .25;
84+
opacity: 1;
9585
}
9686
}
9787

@@ -100,7 +90,6 @@ li.slick-active button:before {
10090
.slick-prev {
10191
visibility: hidden;
10292
}
103-
10493
.sliderClass .slick-dots li,
10594
.sliderClass .slick-dots li button,
10695
.sliderClass .slick-dots li button::before,

0 commit comments

Comments
 (0)