mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
fix: rounded corners of photos when touching edges
This commit is contained in:
committed by
Stefan Imhoff
parent
726c22ba18
commit
2269a23f3c
@@ -38,6 +38,7 @@ const schema = JSON.stringify({
|
||||
>
|
||||
<Image
|
||||
alt="Stefan Imhoff"
|
||||
class="[&_img]:rounded-l-none md:[&_img]:rounded-2"
|
||||
role="presentation"
|
||||
src="/assets/images/portrait-stefan-imhoff-2025.webp"
|
||||
/>
|
||||
|
||||
@@ -93,7 +93,7 @@ const schema = JSON.stringify({
|
||||
entry.data.cover && (
|
||||
<Image
|
||||
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"
|
||||
src={entry.data.cover}
|
||||
fullHeight
|
||||
|
||||
@@ -41,6 +41,7 @@ rssPosts.sort(sortMarkdownByDate);
|
||||
>
|
||||
<Image
|
||||
alt="Bonsai"
|
||||
class="[&_img]:rounded-none md:[&_img]:rounded-2"
|
||||
loading="eager"
|
||||
role="presentation"
|
||||
src="/assets/images/cover/bonsai.webp"
|
||||
|
||||
Reference in New Issue
Block a user