Merge pull request #109 from OuOumm/main

style(组件): 调整ScrollableRow和VideoCard的样式细节
This commit is contained in:
senshinya
2025-07-10 11:58:29 +08:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ export default function ScrollableRow({
> >
<div <div
ref={containerRef} 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} onScroll={checkScroll}
> >
{children} {children}

View File

@@ -224,7 +224,9 @@ export default function VideoCard({
return ( return (
<div <div
className={`group relative w-full rounded-lg bg-transparent transition-all duration-300 transform ${ 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} onClick={handleClick}
> >