Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
000849cb70
commit
9a22d133d5
@ -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)
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
@ -82,6 +82,7 @@ struct RoadMapGridView: View {
|
||||
}
|
||||
.padding(spacing)
|
||||
}
|
||||
.padding(.leading, spacing)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user