diff --git a/KisaniCal/Views/CalendarView.swift b/KisaniCal/Views/CalendarView.swift index 4d479d9..b4ce8d9 100644 --- a/KisaniCal/Views/CalendarView.swift +++ b/KisaniCal/Views/CalendarView.swift @@ -392,6 +392,9 @@ struct CalendarView: View { calDayTaskListView } } + // Pin to the top so views whose content doesn't fill the height + // (week / 3-day timelines) don't float to the bottom of the ZStack. + .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .top) FAB { showAddTask = true } .padding(.trailing, 20).padding(.bottom, 10)