Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
b6ba6264f7
commit
31b6034b5f
@ -92,13 +92,13 @@ struct CompactHandView: View {
|
||||
GeometryReader { geometry in
|
||||
let availableWidth = geometry.size.width
|
||||
|
||||
if isLargeScreen {
|
||||
// iPad: Simple centered layout - no scrolling needed
|
||||
if isLargeScreen || !isDealing {
|
||||
// iPad or betting phase: Simple centered layout - no scrolling needed
|
||||
cardsContent
|
||||
.padding(.horizontal, Design.Spacing.medium)
|
||||
.frame(width: availableWidth, alignment: .center)
|
||||
} else {
|
||||
// iPhone: Use ScrollView for 3rd card
|
||||
// iPhone dealing phase: Use ScrollView for 3rd card
|
||||
ScrollViewReader { proxy in
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
cardsContent
|
||||
|
||||
Loading…
Reference in New Issue
Block a user