Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>

This commit is contained in:
Matt Bruce 2025-12-23 08:45:25 -06:00
parent 000849cb70
commit 9a22d133d5
4 changed files with 8 additions and 6 deletions

View File

@ -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)

View File

@ -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
}
}
)

View File

@ -82,6 +82,7 @@ struct RoadMapGridView: View {
}
.padding(spacing)
}
.padding(.leading, spacing)
}
}
}

View File

@ -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)