From 2ee0e348dc156ce3dfca4689d5cb2e612fa705e0 Mon Sep 17 00:00:00 2001 From: Trey t Date: Mon, 28 Mar 2022 09:52:12 -0500 Subject: [PATCH] closed #122 UI issue on month view --- Shared/views/MonthView/MonthView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shared/views/MonthView/MonthView.swift b/Shared/views/MonthView/MonthView.swift index 3bf093a..7261a46 100644 --- a/Shared/views/MonthView/MonthView.swift +++ b/Shared/views/MonthView/MonthView.swift @@ -162,7 +162,7 @@ extension MonthView { ForEach(entries, id: \.self) { entry in shape.view(withText: Text(""), bgColor: entry.mood == .placeholder ? .clear : moodTint.color(forMood: entry.mood), textColor: .clear) - .frame(minHeight: 5, idealHeight: 20, maxHeight: 50, alignment: .center) + .frame(minHeight: 25, idealHeight: 25, maxHeight: 50, alignment: .center) } } Spacer() @@ -204,7 +204,7 @@ extension MonthView { shape.view(withText: Text(""), bgColor: entry.mood == .placeholder ? .clear : moodTint.color(forMood: entry.mood), textColor: .clear) - .frame(maxWidth: .infinity, maxHeight: .infinity) + .frame(minHeight: 25, idealHeight: 25, maxHeight: 50, alignment: .center) } } }