React-datepicker: Month Container to small

Created on 19 Apr 2018  路  4Comments  路  Source: Hacker0x01/react-datepicker

it is to small, how to make it bigger (Month Container) ?
screenshot_2

Thanks

wontfix

Most helpful comment

i was able to make it larger by modifying the css styles. For example

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  width: 2.5rem;
  line-height: 2.5rem;
  font-size: 12px;
}

All 4 comments

i was able to make it larger by modifying the css styles. For example

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  width: 2.5rem;
  line-height: 2.5rem;
  font-size: 12px;
}

I had to change the font-size associated with my html, body rule:

html, body {
  font-size: 14px;
}

I assume this is because react-datepicker uses rem for font sizes.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jbccollins picture jbccollins  路  3Comments

ali-master picture ali-master  路  3Comments

jjjss94 picture jjjss94  路  3Comments

lclemence picture lclemence  路  3Comments

tamitutor picture tamitutor  路  3Comments