File tree Expand file tree Collapse file tree
resources/js/components/video Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,14 +16,13 @@ withDefaults(
1616
1717<template >
1818 <div
19- :class =" [
20- 'transition-all ease-in w-full hover:bg-neutral-800/30 ',
21- lyric.time !== undefined ? 'cursor-pointer' : 'cursor-default',
22- isActive ? 'bg-neutral-800/40 text-yellow-400 opacity-100 duration-300' : 'opacity-85',
23- ]"
19+ :class =" ['w-full transition-all ease-in hover:bg-neutral-800/30', isActive ? 'bg-neutral-800/40 text-yellow-400 opacity-100 duration-300' : 'opacity-85']"
2420 :id =" `lyric-${lyric?.time ?? index}`"
2521 >
26- <button class =" px-4 sm:px-0 py-1 sm:mx-auto sm:w-4/5 break-normal pointer-events-auto" @click =" $emit('clicked')" >
22+ <button
23+ :class =" ['pointer-events-auto px-4 py-1 break-normal sm:mx-auto sm:w-4/5 sm:px-0', lyric.time !== undefined ? 'cursor-pointer' : 'cursor-default']"
24+ @click =" $emit('clicked')"
25+ >
2726 {{ lyric?.text || '-' }}
2827 </button >
2928 </div >
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ defineExpose({ scrollToCurrent });
253253 :lyric =" { text: ` ${isLoadingLyrics ? ' Generating' : ' Generate with Magic' }... ` } "
254254 :is-active =" false "
255255 :index =" 0 "
256- :class =" { ' opacity-60!' : isLoadingLyrics } "
256+ :class =" [ { ' opacity-60!' : isLoadingLyrics }, ' *:cursor-pointer! ' ] "
257257 @clicked =" handleGenerateLyrics "
258258 />
259259 <div class =" shrink-0" style =" height : 45% " ></div >
You can’t perform that action at this time.
0 commit comments