File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 77
77
}
78
78
79
79
.carousel-top-arrow {
80
- top : 53 px ;
80
+ top : 23 px ;
81
81
}
82
82
83
83
.carousel-bottom-arrow {
84
- bottom : 53 px ;
84
+ bottom : 23 px ;
85
85
}
86
86
87
87
.carousel-top-arrow {
Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ export default class Carousel extends Component {
470
470
arrowOffset -= this . props . verticalArrowPadding ;
471
471
}
472
472
473
- const arrowStyle = { ...isVertical && { ...! arrows ? { transform : `translateY(${ arrowOffset } px)` } : { paddingRight : '50px' } } } ;
473
+ const arrowStyle = { ...isVertical && { ...! arrows && { transform : `translateY(${ arrowOffset } px)` } } } ;
474
474
475
475
return (
476
476
< div className = { classes } style = { containerStyle } ref = { c => { this . _containerRef = c ; } } >
Original file line number Diff line number Diff line change @@ -79,12 +79,6 @@ export const verticalNonInfiniteWithCellPaddingWithDefaultArrows = () =>
79
79
{ imgElements }
80
80
</ Carousel > ;
81
81
82
- export const verticalNonInfiniteButtonsWithCellPaddingWithDefaultArrows = ( ) =>
83
- < Carousel height = '200px' width = '200px' cellPadding = { 5 } infinite = { false } arrows = { true }
84
- dots = { false } isVertical = { true } >
85
- { testButtons }
86
- </ Carousel > ;
87
-
88
82
export const verticalNonInfiniteButtonsWithCellPaddingWithCustomArrows = ( ) =>
89
83
< Carousel height = '450px' width = '450px' cellPadding = { 5 } infinite = { false } arrows = { false }
90
84
dots = { false } isVertical = { true } verticalArrowPadding = { 30 } controls = { [ {
You can’t perform that action at this time.
0 commit comments