mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-28 07:44:42 +08:00
style(组件): 调整ScrollableRow和VideoCard的样式细节
优化ScrollableRow的padding和overflow样式,为VideoCard添加hover时的缩放效果
This commit is contained in:
@@ -224,7 +224,9 @@ export default function VideoCard({
|
||||
return (
|
||||
<div
|
||||
className={`group relative w-full rounded-lg bg-transparent transition-all duration-300 transform ${
|
||||
isDeleting ? 'opacity-0 scale-90 translate-y-4' : 'hover:-translate-y-1'
|
||||
isDeleting
|
||||
? 'opacity-0 scale-90 translate-y-4'
|
||||
: 'hover:-translate-y-1 hover:scale-[1.02]'
|
||||
}`}
|
||||
onClick={handleClick}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user