React-calendar: How to resize the calendar?

Created on 13 Sep 2018  路  1Comment  路  Source: wojtekmaj/react-calendar

Hello,

is there any way to make the size of the calendar bigger? I tried making the calendar's width and height to 100% so that it just takes the size of the div, but it just looks like this screenshot here: http://i.imgur.com/7wmis0h.png

Any advice would be appreciated, thanks!

question

Most helpful comment

Hi there,
While the calendar will fill its container width, height is automatically calculated. So to expand its height you will need to expand the content somehow, for example by setting bigger top and bottom padding of the tiles.

I wish it could expand both ways. And it will someday - but that would require CSS grid, and support for IE 11 stops me from doing so.

>All comments

Hi there,
While the calendar will fill its container width, height is automatically calculated. So to expand its height you will need to expand the content somehow, for example by setting bigger top and bottom padding of the tiles.

I wish it could expand both ways. And it will someday - but that would require CSS grid, and support for IE 11 stops me from doing so.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wojtekmaj picture wojtekmaj  路  3Comments

Muttakee31 picture Muttakee31  路  4Comments

mikeyharris89 picture mikeyharris89  路  4Comments

tranvula picture tranvula  路  4Comments

dumkanki picture dumkanki  路  3Comments