File tree 4 files changed +28
-24
lines changed
shared/components/Contentful/ContentSlider
4 files changed +28
-24
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class ContentSlider extends Component {
63
63
onKeyPress = { previousSlide }
64
64
role = "button"
65
65
tabIndex = { 0 }
66
- className = { theme . control }
66
+ className = { theme . controlLeft }
67
67
>
68
68
< ArrowPrev />
69
69
</ a >
@@ -74,7 +74,7 @@ class ContentSlider extends Component {
74
74
onKeyPress = { nextSlide }
75
75
role = "button"
76
76
tabIndex = { 0 }
77
- className = { theme . control }
77
+ className = { theme . controlRight }
78
78
>
79
79
< ArrowNext />
80
80
</ a >
@@ -109,7 +109,8 @@ ContentSlider.propTypes = {
109
109
theme : PT . shape ( {
110
110
container : PT . string ,
111
111
content : PT . string ,
112
- control : PT . string ,
112
+ controlLeft : PT . string ,
113
+ controlRight : PT . string ,
113
114
multiContent : PT . any ,
114
115
singleContent : PT . any ,
115
116
} ) ,
Original file line number Diff line number Diff line change 18
18
width : 100% ;
19
19
}
20
20
21
- .control {
21
+ .controlLeft ,
22
+ .controlRight {
22
23
border : 0 ;
23
24
color : white ;
24
25
cursor : pointer ;
25
26
display : flex ;
26
27
}
28
+
29
+ .controlLeft {
30
+ margin-left : 25px ;
31
+ }
32
+
33
+ .controlRight {
34
+ margin-right : 25px ;
35
+ }
You can’t perform that action at this time.
0 commit comments