mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-30 00:28:27 +00:00
Fix weird underflow on media card on Safari
This commit is contained in:
parent
ca0ccb240e
commit
c4dcc42b9d
|
@ -95,7 +95,7 @@ function MediaCardContent({
|
|||
{percentage !== undefined ? (
|
||||
<>
|
||||
<div
|
||||
className={`absolute inset-x-0 bottom-0 h-12 bg-gradient-to-t from-mediaCard-shadow to-transparent transition-colors ${
|
||||
className={`absolute inset-x-0 -bottom-px pb-1 h-12 bg-gradient-to-t from-mediaCard-shadow to-transparent transition-colors ${
|
||||
canLink ? "group-hover:from-mediaCard-hoverShadow" : ""
|
||||
}`}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue