Skip to content

Commit

Permalink
fix: make it usable on mobile again
Browse files Browse the repository at this point in the history
  • Loading branch information
TN1ck committed Sep 26, 2024
1 parent 5cb6c0d commit be025fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/pages/Game/Sudoku/Sudoku.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export const GridCell = ({

return (
<>
<div style={dimensions} className={clsx("absolute z-20 border-2", borderColor)} />
<div
onClick={(e) => {
e.preventDefault();
Expand All @@ -130,6 +129,10 @@ export const GridCell = ({
e.stopPropagation();
onRightClick();
}}
style={dimensions}
className={clsx("absolute z-20 border-2", borderColor)}
/>
<div
style={dimensions}
className={clsx("absolute z-0 bg-opacity-50 transition-colors duration-0 hover:bg-opacity-50", backgroundColor)}
/>
Expand Down

0 comments on commit be025fc

Please sign in to comment.