feat: optimize pages for print layout

This commit is contained in:
Stefan Imhoff
2023-06-12 18:55:25 +02:00
parent a823e2ff9b
commit f5b944833c
13 changed files with 83 additions and 28 deletions

View File

@@ -67,7 +67,7 @@ const description = entry.data.description;
alt={entry.data.title}
aspect={1.6}
breakpoints={[300, 500, 700, 1000, 1300, 1500, 1800, 2000]}
class="col-span-full aspect-video h-auto !mbe-0 xl:col-start-1 xl:col-end-14 3xl:col-end-13 [&_img]:!w-full [&_img]:!max-w-none [&_picture]:!w-full [&_picture]:!max-w-none"
class="col-span-full aspect-video h-auto !mbe-0 print:hidden xl:col-start-1 xl:col-end-14 3xl:col-end-13 [&_img]:!w-full [&_img]:!max-w-none [&_picture]:!w-full [&_picture]:!max-w-none"
format={['webp', 'avif']}
src={entry.data.cover}
/>