fix: rounded corners of photos when touching edges

This commit is contained in:
Stefan Imhoff
2026-01-28 15:21:02 +01:00
committed by Stefan Imhoff
parent 726c22ba18
commit 2269a23f3c
3 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ const schema = JSON.stringify({
> >
<Image <Image
alt="Stefan Imhoff" alt="Stefan Imhoff"
class="[&_img]:rounded-l-none md:[&_img]:rounded-2"
role="presentation" role="presentation"
src="/assets/images/portrait-stefan-imhoff-2025.webp" src="/assets/images/portrait-stefan-imhoff-2025.webp"
/> />

View File

@@ -93,7 +93,7 @@ const schema = JSON.stringify({
entry.data.cover && ( entry.data.cover && (
<Image <Image
alt={entry.data.title} alt={entry.data.title}
class="col-span-full aspect-video h-auto !mbe-0 xl:col-start-1 xl:col-end-14 3xl:col-end-13 print:hidden [&_img]:!w-full [&_img]:!max-w-none [&_picture]:!w-full [&_picture]:!max-w-none" class="col-span-full aspect-video h-auto !mbe-0 xl:col-start-1 xl:col-end-14 3xl:col-end-13 print:hidden [&_img]:!w-full [&_img]:!max-w-none [&_img]:rounded-none xl:[&_img]:rounded-2 [&_picture]:!w-full [&_picture]:!max-w-none"
loading="eager" loading="eager"
src={entry.data.cover} src={entry.data.cover}
fullHeight fullHeight

View File

@@ -41,6 +41,7 @@ rssPosts.sort(sortMarkdownByDate);
> >
<Image <Image
alt="Bonsai" alt="Bonsai"
class="[&_img]:rounded-none md:[&_img]:rounded-2"
loading="eager" loading="eager"
role="presentation" role="presentation"
src="/assets/images/cover/bonsai.webp" src="/assets/images/cover/bonsai.webp"