hack chessboardjs

This commit is contained in:
Thibault Duplessis 2013-07-21 15:34:12 +02:00
parent aed070ec24
commit 29d016ec77
2 changed files with 9 additions and 8 deletions

View file

@ -8,16 +8,19 @@
* Date: 21 Jul 2013
*/
/* clearfix */
div.clearfix-7da63 {
clear: both;
}
/* board */
div.board-b72b1 {
border: 2px solid #404040;
-moz-box-sizing: content-box;
box-sizing: content-box;
display:inline-block;
}
.board-b72b1:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
/* square */
@ -67,4 +70,4 @@ div.alpha-d2270 {
div.numeric-fc462 {
top: 2px;
left: 2px;
}
}

View file

@ -196,7 +196,6 @@ var CSS = {
black: 'black-3c85d',
board: 'board-b72b1',
chessboard: 'chessboard-63f37',
clearfix: 'clearfix-7da63',
highlight1: 'highlight1-32417',
highlight2: 'highlight2-9c5d2',
notation: 'notation-322f9',
@ -608,7 +607,6 @@ var buildBoard = function(orientation) {
squareColor = (squareColor === 'white' ? 'black' : 'white');
}
html += '<div class="' + CSS.clearfix + '"></div></div>';
squareColor = (squareColor === 'white' ? 'black' : 'white');