diff --git a/KisaniCal/Views/CalendarView.swift b/KisaniCal/Views/CalendarView.swift index 6e60350..08d9aa7 100644 --- a/KisaniCal/Views/CalendarView.swift +++ b/KisaniCal/Views/CalendarView.swift @@ -186,7 +186,7 @@ struct CalendarView: View { .sheet(isPresented: $showAddTask) { AddTaskSheet(prefilledDate: selectedDate) .environmentObject(taskVM) - .presentationDetents([.height(500), .large]) + .presentationDetents([.height(150), .large]) .presentationDragIndicator(.visible) } .sheet(isPresented: $showCalendarConnect) { diff --git a/KisaniCal/Views/MatrixView.swift b/KisaniCal/Views/MatrixView.swift index ac5bf73..281c99c 100644 --- a/KisaniCal/Views/MatrixView.swift +++ b/KisaniCal/Views/MatrixView.swift @@ -67,7 +67,7 @@ struct MatrixView: View { .sheet(isPresented: $showAddTask) { AddTaskSheet() .environmentObject(taskVM) - .presentationDetents([.height(500), .large]) + .presentationDetents([.height(150), .large]) .presentationDragIndicator(.visible) } } diff --git a/KisaniCal/Views/TodayView.swift b/KisaniCal/Views/TodayView.swift index 2d170eb..0ef37ff 100644 --- a/KisaniCal/Views/TodayView.swift +++ b/KisaniCal/Views/TodayView.swift @@ -187,7 +187,7 @@ struct TodayView: View { .sheet(isPresented: $showAddTask) { AddTaskSheet() .environmentObject(taskVM) - .presentationDetents([.height(500), .large]) + .presentationDetents([.height(150), .large]) .presentationDragIndicator(.visible) } .sheet(isPresented: $showWorkoutSession) { @@ -969,24 +969,24 @@ struct AddTaskSheet: View { var body: some View { VStack(spacing: 0) { // ── Text input ────────────────────────────────────────────────── - VStack(alignment: .leading, spacing: 10) { + VStack(alignment: .leading, spacing: 8) { NLTaskField( text: $rawText, placeholder: "What would you like to do?", highlightRanges: parsed.tokenRanges ) - .frame(minHeight: 28, maxHeight: 110) + .frame(minHeight: 32, maxHeight: 120) .onChange(of: rawText) { _ in withAnimation(KisaniSpring.micro) { parsed = NLTaskParser.parse(rawText) } } Text("Description") - .font(AppFonts.sans(14)) + .font(AppFonts.sans(15)) .foregroundColor(AppColors.text3(cs)) } .padding(.horizontal, 16) - .padding(.top, 20) - .padding(.bottom, 14) + .padding(.top, 16) + .padding(.bottom, 12) // ── Toolbar ───────────────────────────────────────────────────── Divider().background(AppColors.border(cs))