• 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
Connections and docs Loading commit data...
api Loading commit data...
app/styles Loading commit data...
config Loading commit data...
migrations Loading commit data...
public Loading commit data...
screenshots Loading commit data...
storage Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
DESIGN.md Loading commit data...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...