Skip to content

Commit

Permalink
cell basic styling
Browse files Browse the repository at this point in the history
  • Loading branch information
StevieBrooks committed Nov 6, 2023
1 parent c3d6da8 commit 9a0d3f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/GameBoard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function GameBoard() {

return (

<div className="game-board w-96 h-96 bg-slate-600 m-auto">
<div className="game-board w-96 h-96 bg-slate-600 m-auto relative top-12 flex flex-wrap justify-center items-center">
{boardState.map((cell, index) => (
cell.map((gameCell, index) => (
<GameCell key={index} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/GameCell.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default function GameCell() {
return (
<div className="game-cell w-28 h-28 m-1 bg-slate-400"></div>
<div className="game-cell w-28 h-28 mx-2 bg-slate-400"></div>
)
}

2 comments on commit 9a0d3f0

@vercel
Copy link

@vercel vercel bot commented on 9a0d3f0 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9a0d3f0 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.