@@ -39,19 +39,24 @@ export const VideoCard = memo
(({
role="listitem"
aria-label={`${video.vod_name}${video.vod_remarks ? ` - ${video.vod_remarks}` : ''}`}
prefetch={false}
+ className="group cursor-pointer hover:translate-y-[-2px] transition-transform duration-200 ease-out block h-full"
+ style={{
+ position: 'relative',
+ zIndex: 1,
+ }}
+ onMouseEnter={(e) => (e.currentTarget.style.zIndex = '100')}
+ onMouseLeave={(e) => (e.currentTarget.style.zIndex = '1')}
>
{/* Poster */}
-