diff --git a/Blackjack/Blackjack/Views/Table/DealerHandView.swift b/Blackjack/Blackjack/Views/Table/DealerHandView.swift index 88f1860..f8fbe0f 100644 --- a/Blackjack/Blackjack/Views/Table/DealerHandView.swift +++ b/Blackjack/Blackjack/Views/Table/DealerHandView.swift @@ -93,8 +93,8 @@ struct DealerHandView: View { : .none, value: hand.cards.count ) - .overlay(alignment: .bottom) { - // Result badge - overlayed so it doesn't add height to the view + .overlay { + // Result badge - centered on cards if let result = hand.cards.count >= 2 && showHoleCard ? handResultText : nil { Text(result) .font(.system(size: labelFontSize, weight: .black)) @@ -106,7 +106,6 @@ struct DealerHandView: View { .fill(handResultColor) .shadow(color: .black.opacity(Design.Opacity.medium), radius: Design.Shadow.radiusMedium) ) - .offset(y: Design.Spacing.xLarge) // Position below cards .transition(.scale.combined(with: .opacity)) } }