mirror of
https://github.com/yattee/yattee.git
synced 2025-11-24 10:18:16 +00:00
Fix home view empty sections taking excessive vertical space
Removed fixed height constraint from empty state in FavoriteItemView. Empty sections now collapse to natural height instead of reserving full content height (290px iOS/600px tvOS), improving space efficiency.
This commit is contained in:
@@ -66,7 +66,6 @@ struct FavoriteItemView: View {
|
||||
#else
|
||||
.padding(.horizontal, 15)
|
||||
#endif
|
||||
.frame(height: expectedContentHeight)
|
||||
} else {
|
||||
ZStack(alignment: .topLeading) {
|
||||
// Reserve space immediately to prevent layout shift
|
||||
|
||||
Reference in New Issue
Block a user