Fix height

This commit is contained in:
thiloho
2025-12-10 22:46:16 +01:00
parent 70a0434236
commit bfad268f1f

View File

@@ -19,7 +19,7 @@ const thumbnail = `https://img.youtube.com/vi/${videoId}/maxresdefault.jpg`;
<a <a
href={youtubeLink} href={youtubeLink}
class="relative mt-8 block h-[360px] bg-cover bg-center p-4 duration-300 after:absolute after:inset-0 after:z-0 after:bg-[rgba(255,255,255,0.75)] after:content-[''] first:mt-0 hover:scale-105 dark:after:bg-[rgba(38,38,38,0.75)]" class="relative mt-4 block bg-cover bg-center p-4 duration-300 after:absolute after:inset-0 after:z-0 after:bg-[rgba(255,255,255,0.75)] after:content-[''] first:mt-0 hover:scale-105 dark:after:bg-[rgba(38,38,38,0.75)]"
style={`word-break: break-word; background-image: url('${thumbnail}')`} style={`word-break: break-word; background-image: url('${thumbnail}')`}
> >
<div <div