From b25e9101d0d54a9162186b8628c6f4d052c422b5 Mon Sep 17 00:00:00 2001 From: Trey t Date: Sat, 13 Dec 2025 10:23:32 -0600 Subject: [PATCH] Fix voting layout height to fit content per style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Shared/Views/AddMoodHeaderView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Views/AddMoodHeaderView.swift b/Shared/Views/AddMoodHeaderView.swift index f450104..ca3885f 100644 --- a/Shared/Views/AddMoodHeaderView.swift +++ b/Shared/Views/AddMoodHeaderView.swift @@ -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