dowjones/react-cellblock

Chess Example Perfect Fit

Opened this issue · 1 comments

First of all, thanks for this great package : simple and clean.

I was wandering for the best approach to tweak the board presented in the Chess example to make it perfectly fit the viewport without scrolling.

In the example the Grid scales only horizontally when you resize the browser window but it does not care about the vertical size.

Thank you!

This package really only deals with horizontal scaling. There have been a few issues logged that are sort of related. I think to accommodate what you are asking for would be interesting, but would also be a pretty significant change to the way the whole library works.

I would love to see if you have any thoughts about how this could work.

Thanks for the interest