Skip to content

Commit 013f1c3

Browse files
[DatePicker] Fix lineHeight
1 parent d6fde3d commit 013f1c3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/DatePicker/DayButton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function getStyles(props, context) {
3838
width: 41,
3939
padding: '4px 2px',
4040
opacity: disabled && '0.6',
41+
lineHeight: 'inherit',
4142
},
4243
label: {
4344
position: 'relative',

src/DatePicker/YearButton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function getStyles(props, context) {
2424
width: 36,
2525
fontSize: 14,
2626
padding: '8px 2px',
27+
lineHeight: 'inherit',
2728
color: year === new Date().getFullYear() && datePicker.color,
2829
},
2930
label: {

0 commit comments

Comments
 (0)