Skip to content

Commit

Permalink
Merge pull request #5 from Annmayn/fix/maze_size
Browse files Browse the repository at this point in the history
fix: make blocks even size
  • Loading branch information
Annmayn authored Apr 11, 2024
2 parents 43e4ec1 + b056e27 commit 2421b8d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file added src/assets/car.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/layer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/maze/components/maze.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Maze = ({ row, col }: MazeProps) => {
{row.map((col) => {
return (
<div
className={`size-12 ${col ? "bg-green-300" : "bg-red-300"}`}
className={`size-12 min-h-12 min-w-12 ${col ? "bg-green-300" : "bg-red-300"}`}
></div>
);
})}
Expand Down

0 comments on commit 2421b8d

Please sign in to comment.