1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Merge pull request #125 from JipFr/v3-superstream

style(media): reduce border radius on hover
This commit is contained in:
mrjvs 2023-01-24 00:05:02 +01:00 committed by GitHub
commit dfbaac8e93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ function MediaCardContent({
}`}
>
<div
className="relative mb-4 aspect-[2/3] w-full overflow-hidden rounded-xl bg-denim-500 bg-cover"
className="relative mb-4 aspect-[2/3] w-full overflow-hidden rounded-xl bg-denim-500 bg-cover transition-[border-radius] duration-100 group-hover:rounded-lg"
style={{
backgroundImage: media.poster ? `url(${media.poster})` : undefined,
}}