diff --git a/src/date-picker/calendar-toolbar.jsx b/src/date-picker/calendar-toolbar.jsx index d4b8a2f52b566f..4e0a18b9613929 100644 --- a/src/date-picker/calendar-toolbar.jsx +++ b/src/date-picker/calendar-toolbar.jsx @@ -63,7 +63,7 @@ let CalendarToolbar = React.createClass({ top: '17px', lineHeight: '14px', fontSize: '14px', - height: '14px', + height: '15px', width: '100%', fontWeight: '500', textAlign: 'center', diff --git a/src/date-picker/calendar.jsx b/src/date-picker/calendar.jsx index 03ba0e2c150015..c7f8129bd57ef7 100644 --- a/src/date-picker/calendar.jsx +++ b/src/date-picker/calendar.jsx @@ -82,8 +82,8 @@ let Calendar = React.createClass({ }, calendarContainer: { width: isLandscape ? 280 : '100%', - height: weekCount === 5 ? 268 : - weekCount === 6 ? 308 : 228, + height: weekCount === 5 ? 272 : + weekCount === 6 ? 312 : 232, float: isLandscape ? 'right' : 'none', transition: Transitions.easeOut('150ms', 'height'), overflow: 'hidden', @@ -91,9 +91,9 @@ let Calendar = React.createClass({ yearContainer: { width: 280, overflow: 'hidden', - height: yearCount < 6 ? yearCount * 56 + 10 : - weekCount === 5 ? 268 : - weekCount === 6 ? 308 : 228, + height: yearCount < 6 ? yearCount * 56 + 14 : + weekCount === 5 ? 272 : + weekCount === 6 ? 312 : 232, float: isLandscape ? 'right' : 'none', }, dateDisplay: { diff --git a/src/date-picker/day-button.jsx b/src/date-picker/day-button.jsx index 0505a67bd3c4ac..1bfa612435f8a9 100644 --- a/src/date-picker/day-button.jsx +++ b/src/date-picker/day-button.jsx @@ -52,6 +52,7 @@ let DayButton = React.createClass({ position: 'relative', float: 'left', width: 36, + margin: '0px', padding: '4px 2px', },