closed #122 UI issue on month view

This commit is contained in:
Trey t
2022-03-28 09:52:12 -05:00
parent 834095fd29
commit 2ee0e348dc

View File

@@ -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)
}
}
}