Declare some image heights for better responsiveness

This commit is contained in:
2025-09-05 11:24:58 +09:30
parent b3064609cf
commit e629567d32
3 changed files with 3 additions and 1 deletions

View File

@@ -229,7 +229,7 @@ const link = `/projects/${slugify(project.data.type)}/${slugify(project.data.slu
loading="lazy"
layout="constrained"
fit="cover"
height={192}
height={250}
style={`animation-delay: -${Math.floor(Math.random() * (12 - 4) + 4)}s; animation-direction: ${Math.random() < 0.5 ? "normal" : "reverse"};`}
quality={quality}
/>