commit 290ad1a3b776b7c8255abe6e09e9a07584adf0b0
parent e17a351feb32304960f8e47ec18d979a784c1e68
Author: Michael Camilleri <[email protected]>
Date: Tue, 12 May 2026 07:23:34 +0900
Tweak Clue Bar layout
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Crossmate/Views/PuzzleView.swift b/Crossmate/Views/PuzzleView.swift
@@ -1005,9 +1005,6 @@ private struct ClueBarSlot: View {
var body: some View {
ZStack(alignment: .bottom) {
ClueBarReservation()
- .opacity(0)
- .accessibilityHidden(true)
- .allowsHitTesting(false)
ClueBar(session: session)
}
@@ -1021,6 +1018,9 @@ private struct ClueBarReservation: View {
clueText: "Clue reservation",
reservesClueSpace: true
)
+ .opacity(0)
+ .accessibilityHidden(true)
+ .allowsHitTesting(false)
}
}
@@ -1066,7 +1066,8 @@ private struct ClueBarContent: View {
ClueBarIcon(systemName: "chevron.right", action: onNext)
}
.padding(.horizontal, 8)
- .padding(.vertical, 6)
+ .padding(.top, 12)
+ .padding(.bottom, 6)
}
@ViewBuilder