Set aspect ratio to fit on feature card images

This commit is contained in:
Jackson Harper
2023-07-19 07:53:43 +08:00
parent 11ebde2988
commit 82a657b82e

View File

@ -40,8 +40,8 @@ public struct LibraryFeatureCard: View {
EmptyView()
case let .success(image):
image.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 146, height: 90)
.aspectRatio(contentMode: .fill)
case .failure:
fallbackImage