Cap the video info thumbnail width at 500pt

This commit is contained in:
Arkadiusz Fal
2026-10-02 23:59:15 +02:00
parent 0bd39f1f23
commit 30bc6840ba

View File

@@ -242,7 +242,7 @@ struct VideoInfoView: View {
}
/// Maximum thumbnail width - full card width on iPhone, capped on iPad/macOS
private var thumbnailMaxWidth: CGFloat { 640 }
private var thumbnailMaxWidth: CGFloat { 500 }
/// Explicit thumbnail width for a given card width. Sized explicitly (not via
/// aspectRatio fit) because the carousel's LazyHStack proposes its ideal height