mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-25 13:10:50 +08:00
refactor(组件): 优化滚动行和视频卡的样式与动画效果
- 调整 ScrollableRow 的内边距样式 - 简化 ImagePlaceholder 的类名并修改圆角大小 - 重构 VideoCard 的悬停动画和交互效果,改进加载状态处理 - 统一过渡动画的缓动函数和持续时间
This commit is contained in:
@@ -102,7 +102,7 @@ export default function ScrollableRow({
|
||||
>
|
||||
<div
|
||||
ref={containerRef}
|
||||
className='flex space-x-6 overflow-x-auto scrollbar-hide py-1 sm:py-2 pb-12 sm:pb-14'
|
||||
className='flex space-x-6 overflow-x-auto scrollbar-hide py-1 sm:py-2 pb-12 sm:pb-14 px-4 sm:px-6'
|
||||
onScroll={checkScroll}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user