fix: safari card animation

This commit is contained in:
shinya
2025-07-11 17:44:48 +08:00
parent af56e19bff
commit 14ae97ecd0
2 changed files with 75 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ export default function VideoCard({
return (
<div
className='group relative w-full rounded-lg bg-transparent transition-all duration-300 transform hover:-translate-y-1 hover:scale-[1.02]'
className='group relative w-full rounded-lg bg-transparent transition-all duration-300 transform hover:-translate-y-1 hover:scale-[1.02] webkit-animation-fix'
onClick={handleClick}
>
{/* 海报容器 */}
@@ -264,7 +264,7 @@ export default function VideoCard({
<PlayCircleIcon
size={52}
strokeWidth={1}
className='text-white transition-all duration-300 transform hover:scale-110 hover:fill-green-500 rounded-full cursor-pointer opacity-80 hover:opacity-100'
className='rounded-full cursor-pointer play-icon-fixed'
/>
)}