Skip to content

Open source CapCut alternative.

TypeScript

fix(app): give task rows room so the elapsed time clears the controls

David Lea399a22f71f4
diff --git a/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift b/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift
index f1b15b5f..0026284c 100644
--- a/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift
+++ b/apps/Donkey/Sources/DonkeyUI/UserQueryNotchStatusView.swift
@@ -604,7 +604,11 @@ public struct UserQueryNotchStatusView: View {
}
.padding(.horizontal, 12)
.padding(.vertical, 10)
- .frame(minHeight: 48)
+ // Tall enough that the bottom-pinned elapsed time always clears the top-pinned controls: a
+ // single-line row would otherwise be short enough to crowd the time right under the close
+ // button, while a multi-line row sits them comfortably apart — so short and tall rows space
+ // the time identically.
+ .frame(minHeight: 64)
.background(Color.white.opacity(0.07))
.clipShape(RoundedRectangle(cornerRadius: 8, style: .continuous))
.contentShape(RoundedRectangle(cornerRadius: 8, style: .continuous))