React-datepicker: Text and datepicker are very small

Created on 14 Jan 2018  路  3Comments  路  Source: Hacker0x01/react-datepicker

With no custom styling, the datepicker and all of it's text are extremely small, and essentially impossible to read.

screen shot 2018-01-14 at 12 14 19 pm

Most helpful comment

This is because react-datepicker uses rem for sizing and bootstrap sets the font-size of html to 10px.

A quick fix is:

html {
  font-size: 14px;
}

All 3 comments

This is because react-datepicker uses rem for sizing and bootstrap sets the font-size of html to 10px.

A quick fix is:

html {
  font-size: 14px;
}

well done @Gazler

@hoodsy I think you should close this issue

Was this page helpful?
0 / 5 - 0 ratings