Fix stat label truncation on smaller screens
- Add fixedSize to stat label to allow text wrapping - Expand stat box to full width for better text flow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -208,9 +208,11 @@ struct FeatureCard: View {
|
||||
.font(.caption)
|
||||
.foregroundColor(Color.appTextSecondary)
|
||||
.multilineTextAlignment(.center)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
.padding(.horizontal, AppSpacing.lg)
|
||||
.padding(.vertical, AppSpacing.md)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(
|
||||
RoundedRectangle(cornerRadius: AppRadius.lg)
|
||||
.fill(Color.appBackgroundSecondary)
|
||||
|
||||
Reference in New Issue
Block a user