From fe8e10a9cfc54e34836be3a57bf0f00b848a9473 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 12 Sep 2023 14:18:09 +0800 Subject: [PATCH] Move back to book style images --- .../Sources/App/Views/Home/HomeFeedViewIOS.swift | 1 - .../Sources/Views/FeedItem/LibraryItemCard.swift | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index 89708c883..dba244997 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -770,7 +770,6 @@ struct AnimatingCellHeight: AnimatableModifier { Spacer() } - .frame(maxHeight: .infinity) } } diff --git a/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift b/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift index ae9f10533..eeecbb448 100644 --- a/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift +++ b/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift @@ -157,12 +157,12 @@ public struct LibraryItemCard: View { image .resizable() .aspectRatio(contentMode: .fill) - .frame(width: 50, height: 50) + .frame(width: 50, height: 75) .cornerRadius(5) .padding(.top, 2) } else { Color.systemBackground - .frame(width: 50, height: 50) + .frame(width: 50, height: 75) .cornerRadius(5) .padding(.top, 2) } @@ -171,7 +171,7 @@ public struct LibraryItemCard: View { fallbackImage } } - .padding(.top, 15) + .padding(.top, 10) .cornerRadius(5) }