Puzzle : from my games - Move highlight not clipped
Exact URL of where the bug happened
https://lichess.org/training/of-player?name=tbest
Steps to reproduce the bug
https://lichess.org/training/of-player?name=tbest
Look for the puzzle where the move is from a8 square
What did you expect to happen?
Nice corners
What happened instead?
See img, the yellow move highlight is not clipped.
Operating system
win11
Browser and version (or alternate access method)
chrome latest
Additional information
Maybe we tag this as a good first issue?
This issue has been happening since forever in the entire UI. Not even chess.com has this fixed, they just "hide" it by having the rounded corners be small.
See the analysis board https://lichess.org/analysis:
or the live board in the main page if you increase the board border radius:
A potential fix would be adding overflow: hidden; to cg-board but I do not know if this could cause other issues...
https://github.com/lichess-org/lila/blob/f654609aa55724d39a56d44b69ab9d9e00b6f229/ui/lib/css/theme/board/_chessground.scss#L3-L14
That should work, and it could be added for only the <cg-board>s with a border-radius (mini-boards).