Skip to content

Commit

Permalink
refactor gameover opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
huoyijie committed Nov 7, 2023
1 parent 7bd6518 commit 06358f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Board.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function () {
))}
{bgCubes}
{gameOver && (
<div className='absolute top-0 left-0 w-full h-full z-100 bg-white opacity-75 flex items-center justify-center'>
<div className='absolute top-0 left-0 w-full h-full z-100 bg-white opacity-50 flex items-center justify-center'>
<span className='text-4xl font-bold'>Game Over</span>
</div>
)}
Expand Down

0 comments on commit 06358f6

Please sign in to comment.