On a phone, a reveal scrolls to what happened
The result strip comes into view with the last two ledger rows above it, so the revealed gestures and their outcome are the first thing seen. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
3716f49bbb
commit
0036eaf625
3 files changed
+19
-2
No files matched your search
@@ -97,7 +97,7 @@
|
||||
<TurnSummary {duel} />
|
||||
|
||||
{#if outcome}
|
||||
<div class="verdict" class:won>
|
||||
<div class="verdict" id="verdict" class:won>
|
||||
<h2>{won ? 'You win.' : outcome.winner === null ? 'A draw.' : 'You lose.'}</h2>
|
||||
<p>{outcome.reason}</p>
|
||||
<button type="button" class="reveal" onclick={() => duel.newGame()}>Duel again</button>
|
||||
|
||||
Reference in new issue
Block a user