Skip to content

Commit

Permalink
Fixed iOS Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
imkunet committed Mar 5, 2024
1 parent b9f5495 commit 219a111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pages/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function Game() {
{solutionShown() && '🤖'}
{wizard() && !solutionShown() && '🧙‍♂️'}
<button onClick={reset}>
<TbDice />
<TbDice style={{ color: 'var(--color-text-secondary)' }} />
</button>
<button
onClick={() => {
Expand Down Expand Up @@ -478,7 +478,7 @@ function Game() {
exit={{ scale: 0.9, opacity: 0 }}
>
<button onClick={reset}>
<TbDice />
<TbDice style={{ color: 'var(--color-text-secondary)' }} />
</button>
</Motion.div>
</Show>
Expand Down
4 changes: 3 additions & 1 deletion src/styles/game.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@
margin-top: 1rem;
margin-bottom: 1rem;
font-size: 2rem;
color: var(--color-text-secondary) !important;
}

.button-bar {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
gap: 0.5rem;
}

Expand All @@ -82,6 +82,7 @@
font-size: inherit;
outline: none;
border: none;
padding: 0;
}

.container {
Expand Down Expand Up @@ -130,6 +131,7 @@
border: none;
outline: none;
background: var(--game-unrevealed);
color: var(--color-text);
cursor: pointer;
pointer-events: all;

Expand Down

0 comments on commit 219a111

Please sign in to comment.