feat(web): add undo button directly on the game board
Build and Deploy / build-and-push (push) Successful in 4m37s

Places a floating "↩ Undo" button at the bottom-right of the green felt
surface so it is visible without looking in the header. Both the board
button and the header button share the same handler; both track
undo_stack_len and disable when nothing can be undone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-15 17:32:13 -07:00
parent 005e29d1ab
commit e17667d034
3 changed files with 20 additions and 7 deletions
+1
View File
@@ -46,6 +46,7 @@
<main>
<section id="board">
<div id="card-area"></div>
<button id="btn-board-undo" class="board-undo" title="Undo (Z)" disabled>↩ Undo</button>
</section>
</main>