From e499b281e49e1751fce6e8a976a114b51c961318 Mon Sep 17 00:00:00 2001 From: "niklastasler@gmail.com" Date: Wed, 27 Dec 2023 22:18:06 +0100 Subject: [PATCH] refactor: increase size of round action buttons on small screens --- templates/components/rounds_list.templ | 10 +-- templates/components/rounds_list_templ.go | 97 ++++++++++------------- 2 files changed, 49 insertions(+), 58 deletions(-) diff --git a/templates/components/rounds_list.templ b/templates/components/rounds_list.templ index 995e32a..982d696 100644 --- a/templates/components/rounds_list.templ +++ b/templates/components/rounds_list.templ @@ -14,19 +14,19 @@ templ RoundsList(game skat.Game) { { player.Name } } Value - Action + for i, round := range game.Rounds { - { fmt.Sprintf("%v", i+1) } + { fmt.Sprintf("%v", i+1) } for _, player := range game.Players { { formatRoundScore(round.GetRoundScore(player)) } } { fmt.Sprintf("%v", round.Value) } -