← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


commit c034774513770873cf46b9381010fc47d1c1e88e
parent 2fa8caf1eb89b304cadec1cd69bca4ea96a03388
Author: Michael Camilleri <[email protected]>
Date:   Sat, 20 Jun 2026 16:09:44 +0900

Fix alignment of 'Players' heading

Diffstat

MCrossmate/Views/Puzzle/PuzzleScoreboard.swift | 7+++----

1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Crossmate/Views/Puzzle/PuzzleScoreboard.swift b/Crossmate/Views/Puzzle/PuzzleScoreboard.swift

@@ -356,12 +356,11 @@ struct PuzzleScoreboard: View {
             }
         } else {
             // No one to nudge (a solo game, or no peers have joined yet): the
-            // plain, non-button heading. Match the capsule's vertical padding so
-            // the heading keeps the same height as the button form and the chips
-            // below don't shift.
+            // plain, non-button heading. It centres against the chip row on its
+            // own, so it needs no padding — the capsule's footprint is taller,
+            // but the chips centre against the tallest element either way.
             Text("Players")
                 .font(.subheadline.weight(.semibold))
-                .padding(.top, 5)
         }
     }