File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ export default class Calendar extends React.Component {
272
272
return ;
273
273
}
274
274
return (
275
- < a
275
+ < button
276
276
className = "react-datepicker__navigation react-datepicker__navigation--previous"
277
277
onClick = { this . decreaseMonth } />
278
278
) ;
@@ -297,7 +297,7 @@ export default class Calendar extends React.Component {
297
297
classes . push ( "react-datepicker__navigation--next--with-today-button" ) ;
298
298
}
299
299
300
- return < a className = { classes . join ( " " ) } onClick = { this . increaseMonth } /> ;
300
+ return < button className = { classes . join ( " " ) } onClick = { this . increaseMonth } /> ;
301
301
} ;
302
302
303
303
renderCurrentMonth = ( date = this . state . date ) => {
Original file line number Diff line number Diff line change 90
90
}
91
91
92
92
.react-datepicker__navigation {
93
+ background : none ;
93
94
line-height : $datepicker__item-size ;
94
95
text-align : center ;
95
96
cursor : pointer ;
96
97
position : absolute ;
97
98
top : 10px ;
98
99
width : 0 ;
100
+ padding : 0 ;
99
101
border : $datepicker__navigation-size solid transparent ;
100
102
z-index : 1 ;
101
103
You can’t perform that action at this time.
0 commit comments