We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eea6c6 commit 36d9e64Copy full SHA for 36d9e64
1 file changed
src/components/sections/ScrollCardSection.tsx
@@ -197,7 +197,7 @@ export function ScrollCardSection({ content }: ScrollCardSectionProps) {
197
</div>
198
199
<div className={cn(
200
- "relative z-10 min-h-72 overflow-hidden rounded-2xl md:min-h-full",
+ "relative z-10 aspect-video w-full self-center overflow-hidden rounded-2xl",
201
showImageBorder && "border border-white/10",
202
isImageLeft && "md:order-1",
203
)}>
@@ -207,7 +207,7 @@ export function ScrollCardSection({ content }: ScrollCardSectionProps) {
207
alt={image.alt ?? item.title}
208
fill
209
sizes="(min-width: 768px) 50vw, 100vw"
210
- className="object-cover"
+ className="object-contain object-center"
211
/>
212
)}
213
0 commit comments