• Mahmoud Aglan's avatar
    fix: chess board renders — use .board-wrapper (what CSS expects) · b4e41050
    Mahmoud Aglan authored
    The board was invisible because:
    - board.js sets `this.el.className = 'board'` (8x8 grid)
    - chessboard.css .board uses `width:100%; height:100%` — needs a sized parent
    - The CSS expects a `.board-wrapper` parent with padding-top:100% trick
    - I was using a custom `.board-container` with aspect-ratio which doesn't work
    
    Fixed: all game screens now use `.board-wrapper > #board` structure
    which chessboard.css already handles (position:relative + padding-top:100%
    for the wrapper, position:absolute + inset:0 for the board grid).
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    b4e41050
Name
Last commit
Last update
..
styles Loading commit data...