mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
fix: alignment of cover photo on pages
This commit is contained in:
committed by
Stefan Imhoff
parent
50791810cc
commit
ddbf507aa5
@@ -25,9 +25,15 @@ const gridVariant = frontmatter.grid || grid;
|
|||||||
frontmatter.cover && (
|
frontmatter.cover && (
|
||||||
<div
|
<div
|
||||||
slot="before-content"
|
slot="before-content"
|
||||||
class="col-span-full xl:col-start-1 xl:col-end-14 3xl:col-end-13 [&_div]:!border-x-0 [&_div]:!mbe-0 [&_div]:md:!border-s-0"
|
class="col-span-full aspect-video h-auto !mbe-0 md:col-start-3 md:col-end-17 xl:col-end-14 3xl:col-end-13 print:hidden [&_img]:!w-full [&_img]:!max-w-none [&_img]:rounded-none [&_img]:!mbe-0 md:[&_img]:rounded-2 [&_picture]:!w-full [&_picture]:!max-w-none"
|
||||||
>
|
>
|
||||||
<Image alt={frontmatter.title} src={frontmatter.cover} fullWidth fullHeight />
|
<Image
|
||||||
|
alt={frontmatter.title}
|
||||||
|
src={frontmatter.cover}
|
||||||
|
fullWidth
|
||||||
|
fullHeight
|
||||||
|
class="!mbe-0"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user