React-datepicker: Increasing dimensions of datePicker

Created on 17 Jul 2017  路  3Comments  路  Source: Hacker0x01/react-datepicker

Is there a way to increase the dimensions of the DatePicker?
I unsuccessfully tried something like:

  <DatePicker style={{height: '600px'}}

In my app. the DatePicker appears smaller than in your examples

Thanks

Most helpful comment

You want to do something like this in your css file

.react-datepicker__input-container {
  width: inherit;
}

.react-datepicker-wrapper {
  width: 100%;
}

All 3 comments

The issue mentioned updates the sizes of the font inside the calender. However the question is about how to increase the length/height of the input box itself

You want to do something like this in your css file

.react-datepicker__input-container {
  width: inherit;
}

.react-datepicker-wrapper {
  width: 100%;
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kkras3 picture kkras3  路  3Comments

hoodsy picture hoodsy  路  3Comments

ahribori picture ahribori  路  3Comments

ro-savage picture ro-savage  路  3Comments

dhruvparmar372 picture dhruvparmar372  路  3Comments