This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 11.DateInput_input {
22 box-sizing : border-box;
3- }
3+ }
4+
5+ .DayPickerNavigation__verticalDefault {
6+ text-align : center;
7+ height : initial;
8+ padding : 10px 0px ;
9+ }
10+
11+ .DayPickerNavigation_svg__vertical {
12+ height : 20px ;
13+ }
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ export default class DatePickerRange extends Component {
135135 ...style ,
136136 } ;
137137
138+ // the height in px of the top part of the calendar (that holds
139+ // the name of the month)
140+ const baselineHeight = 145 ;
141+
138142 return (
139143 < div
140144 id = { id }
@@ -184,6 +188,7 @@ export default class DatePickerRange extends Component {
184188 withPortal = { with_portal && verticalFlag }
185189 startDateId = { start_date_id || this . state . start_date_id }
186190 endDateId = { end_date_id || this . state . end_date_id }
191+ verticalHeight = { baselineHeight + day_size * 6 + 'px' }
187192 />
188193 </ div >
189194 ) ;
Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ export default class DatePickerSingle extends Component {
7171 ...style ,
7272 } ;
7373
74+ // the height in px of the top part of the calendar (that holds
75+ // the name of the month)
76+ const baselineHeight = 145 ;
77+
7478 return (
7579 < div
7680 id = { id }
@@ -106,6 +110,7 @@ export default class DatePickerSingle extends Component {
106110 isRTL = { is_RTL }
107111 orientation = { calendar_orientation }
108112 daySize = { day_size }
113+ verticalHeight = { baselineHeight + day_size * 6 + 'px' }
109114 />
110115 </ div >
111116 ) ;
You can’t perform that action at this time.
0 commit comments