let images cover the tile in carousel
All checks were successful
/ build (pull_request) Successful in 1m11s
All checks were successful
/ build (pull_request) Successful in 1m11s
This commit is contained in:
parent
ca09e7e356
commit
b989df0856
1 changed files with 2 additions and 2 deletions
|
|
@ -206,7 +206,7 @@ const slides = [
|
|||
const impression = images[impression_name]
|
||||
return (
|
||||
<button command="show-modal" commandfor={`impression-${impression_name}`}
|
||||
class="mx-auto shrink-0 w-lg overflow-hidden shadow-lg rounded-xl relative">
|
||||
class="mx-auto shrink-0 w-lg max-w-[70vw] overflow-hidden shadow-lg rounded-xl relative">
|
||||
<img
|
||||
aria-hidden
|
||||
alt=""
|
||||
|
|
@ -218,7 +218,7 @@ const slides = [
|
|||
widths={[540, 720, impression.image.width]}
|
||||
src={impression.image}
|
||||
alt={impression.alt}
|
||||
layout="full-width"
|
||||
class="h-full w-auto object-cover"
|
||||
pictureAttributes={{class: "relative z-10 text-transparent"}}
|
||||
/>
|
||||
{impression.attribution &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue