diff --git a/ui/common/css/component/_board.scss b/ui/common/css/component/_board.scss index 08c339a7e1..2bb5d6d177 100644 --- a/ui/common/css/component/_board.scss +++ b/ui/common/css/component/_board.scss @@ -10,6 +10,11 @@ } } +.cg-wrap { + display: table; // part of hack to round to full pixel size in chrome +} + .mini-board, .mini-game .cg-wrap { @extend %square; + display: table; } diff --git a/ui/common/css/vendor/chessground/_chessground.scss b/ui/common/css/vendor/chessground/_chessground.scss index cba0b869a7..f5ccba6659 100644 --- a/ui/common/css/vendor/chessground/_chessground.scss +++ b/ui/common/css/vendor/chessground/_chessground.scss @@ -108,9 +108,7 @@ cg-helper { position: absolute; width: 12.5%; padding-bottom: 12.5%; - display: table; - - /* hack: round to full pixel size in chrome */ + display: table; // hack to round to full pixel size in chrome bottom: 0; }