Fix voting layout height to fit content per style

Replace fixed maxWidth frame with fixedSize to allow each voting
layout style to use only as much vertical space as needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-13 10:23:32 -06:00
parent 5974002a82
commit b25e9101d0

View File

@@ -43,7 +43,7 @@ struct AddMoodHeaderView: View {
.padding(.horizontal)
}
.cornerRadius(Constants.viewsCornerRaidus, corners: [.topLeft, .topRight, .bottomLeft, .bottomRight])
.frame(minWidth: 0, maxWidth: .infinity)
.fixedSize(horizontal: false, vertical: true)
}
@ViewBuilder