Closed d-luca727 closed 2 years ago
<div className="container">
<div className="board">
<Chessground
config={config}
contained />
</div>
</div>
I recommend something like this instead, the board
class needs to have width and height property set, and you can style it however you like after
It worked like a charm, thanks for helping out!
I have this code:
(e.g. https://imgur.com/qfqmrvp) Chessground doesn't change according to my css, how do I fix? I've built a lot of chess projects just to play around with this wrapper and this is the only thing I can't figure out.