We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b97fce commit fc9a89cCopy full SHA for fc9a89c
1 file changed
src/ps/games/connectfour/render.tsx
@@ -33,7 +33,9 @@ function renderBoard(this: This, ctx: RenderCtx): ReactElement {
33
{repeat(null, ctx.board[0].length).map((_, col) => {
34
const column = ctx.board.map(row => row[col]);
35
return column[0] ? (
36
- <Column data={column} />
+ <div style={{ display: 'inline-block' }}>
37
+ <Column data={column} />
38
+ </div>
39
) : (
40
<Button value={`${this.msg} play ${col}`} style={{ background: 'none', border: 'none', padding: 0 }}>
41
<Column data={column} />
0 commit comments