lichess-org/chessground

Highlight square is not properly shown

elsiniestra opened this issue · 4 comments

There's an issue with the fact that the highlighted/selected square is not aligned with the original one. But on lichens.org it's aligned fine.

Chessground v.8.3.5: image
Lichess: image

Of course, I've seen #201 issue, but there is no answer how to fix it

Can you please share the (rendered) HTML/DOM and CSS of this page?

There are two issues.

If you take the SVG background and divide it into 8 equal rows, you'll find that this won't match the square positions.

image

And then there's

cg-board {
  border: 2px solid #ffe5b4;
}

messing with the layout.

Thanks for the help!