mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-22 10:34:42 +08:00
Merge pull request #109 from OuOumm/main
style(组件): 调整ScrollableRow和VideoCard的样式细节
This commit is contained in:
@@ -102,7 +102,7 @@ export default function ScrollableRow({
|
||||
>
|
||||
<div
|
||||
ref={containerRef}
|
||||
className='flex space-x-6 scrollbar-hide pb-12 sm:pb-14'
|
||||
className='flex space-x-6 overflow-x-auto scrollbar-hide py-2 sm:py-4 pb-12 sm:pb-14'
|
||||
onScroll={checkScroll}
|
||||
>
|
||||
{children}
|
||||
|
||||
@@ -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