Skip to content

Commit b357a3e

Browse files
committed
Fix #3524
1 parent ab38c80 commit b357a3e

File tree

4 files changed

+28
-24
lines changed

4 files changed

+28
-24
lines changed

src/assets/images/new-arrow-left.svg

+7-10
Loading

src/assets/images/new-arrow-right.svg

+7-10
Loading

src/shared/components/Contentful/ContentSlider/ContentSlider.jsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ContentSlider extends Component {
6363
onKeyPress={previousSlide}
6464
role="button"
6565
tabIndex={0}
66-
className={theme.control}
66+
className={theme.controlLeft}
6767
>
6868
<ArrowPrev />
6969
</a>
@@ -74,7 +74,7 @@ class ContentSlider extends Component {
7474
onKeyPress={nextSlide}
7575
role="button"
7676
tabIndex={0}
77-
className={theme.control}
77+
className={theme.controlRight}
7878
>
7979
<ArrowNext />
8080
</a>
@@ -109,7 +109,8 @@ ContentSlider.propTypes = {
109109
theme: PT.shape({
110110
container: PT.string,
111111
content: PT.string,
112-
control: PT.string,
112+
controlLeft: PT.string,
113+
controlRight: PT.string,
113114
multiContent: PT.any,
114115
singleContent: PT.any,
115116
}),

src/shared/components/Contentful/ContentSlider/themes/default.scss

+10-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,18 @@
1818
width: 100%;
1919
}
2020

21-
.control {
21+
.controlLeft,
22+
.controlRight {
2223
border: 0;
2324
color: white;
2425
cursor: pointer;
2526
display: flex;
2627
}
28+
29+
.controlLeft {
30+
margin-left: 25px;
31+
}
32+
33+
.controlRight {
34+
margin-right: 25px;
35+
}

0 commit comments

Comments
 (0)