From 9a22d133d50422f81f001ba21be2f978613b1d4a Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 23 Dec 2025 08:45:25 -0600 Subject: [PATCH] Signed-off-by: Matt Bruce --- Baccarat/Baccarat/Views/Game/GameTableView.swift | 7 ++++--- Baccarat/Baccarat/Views/Table/CardsDisplayArea.swift | 4 ++-- Baccarat/Baccarat/Views/Table/RoadMapGridView.swift | 1 + Blackjack/Blackjack/Theme/DesignConstants.swift | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Baccarat/Baccarat/Views/Game/GameTableView.swift b/Baccarat/Baccarat/Views/Game/GameTableView.swift index aabdb12..5a17d41 100644 --- a/Baccarat/Baccarat/Views/Game/GameTableView.swift +++ b/Baccarat/Baccarat/Views/Game/GameTableView.swift @@ -148,15 +148,16 @@ struct GameTableView: View { if settings.showHistory && !state.roundHistory.isEmpty { VStack(alignment: .leading, spacing: Design.Spacing.xSmall) { // Header with reading instructions - VStack(alignment: .leading, spacing: 2) { + VStack(alignment: .leading, spacing: 5) { Text("HISTORY") - .font(.system(size: Design.BaseFontSize.small, weight: .bold, design: .rounded)) + .font(.system(size: Design.BaseFontSize.xLarge, weight: .bold, design: .rounded)) .foregroundStyle(.white.opacity(Design.Opacity.strong)) Text("↓ then →") - .font(.system(size: Design.BaseFontSize.xSmall, design: .rounded)) + .font(.system(size: Design.BaseFontSize.large, design: .rounded)) .foregroundStyle(.white.opacity(Design.Opacity.medium)) } + .padding(.leading, Design.Spacing.small) .padding(.horizontal, Design.Spacing.small) .padding(.top, Design.Spacing.small) diff --git a/Baccarat/Baccarat/Views/Table/CardsDisplayArea.swift b/Baccarat/Baccarat/Views/Table/CardsDisplayArea.swift index 63999c9..c340eef 100644 --- a/Baccarat/Baccarat/Views/Table/CardsDisplayArea.swift +++ b/Baccarat/Baccarat/Views/Table/CardsDisplayArea.swift @@ -111,10 +111,10 @@ struct CardsDisplayArea: View { GeometryReader { geometry in Color.clear .onAppear { - containerWidth = geometry.size.width + containerWidth = geometry.size.width * 0.95 } .onChange(of: geometry.size.width) { _, newWidth in - containerWidth = newWidth + containerWidth = newWidth * 0.95 } } ) diff --git a/Baccarat/Baccarat/Views/Table/RoadMapGridView.swift b/Baccarat/Baccarat/Views/Table/RoadMapGridView.swift index 0e8e396..b44e4eb 100644 --- a/Baccarat/Baccarat/Views/Table/RoadMapGridView.swift +++ b/Baccarat/Baccarat/Views/Table/RoadMapGridView.swift @@ -82,6 +82,7 @@ struct RoadMapGridView: View { } .padding(spacing) } + .padding(.leading, spacing) } } } diff --git a/Blackjack/Blackjack/Theme/DesignConstants.swift b/Blackjack/Blackjack/Theme/DesignConstants.swift index 0c10901..562320c 100644 --- a/Blackjack/Blackjack/Theme/DesignConstants.swift +++ b/Blackjack/Blackjack/Theme/DesignConstants.swift @@ -17,7 +17,7 @@ enum Design { // MARK: - Debug /// Set to true to show layout debug borders on views - static let showDebugBorders = true + static let showDebugBorders = false // MARK: - Shared Constants (from CasinoKit)