Skip to content

Commit 005316e

Browse files
committed
Tweak video close X icon
1 parent 7d6c917 commit 005316e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/downloaded/downloaded-ui.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Input } from "@/components/ui/input"
88
import { useAudioPlayerContext } from "@/contexts/audio-player-context-provider"
99
import { controlIconClassName, inputResetIconClasses, thinIconStyle } from "@/lib/style"
1010
import { Icon } from "@/components/ocodo-ui/icon"
11+
import { cn } from "@/lib/utils"
1112

1213
const getFileType = (fileName: string | undefined): 'video' | 'audio' | undefined => {
1314
if (!fileName) return undefined
@@ -67,7 +68,7 @@ export const DownloadedUI: FC = () => {
6768
<div className="absolute z-10 top-2 right-2">
6869
<Icon
6970
Icon={XIcon}
70-
className={controlIconClassName}
71+
className={cn(controlIconClassName, 'hover:bg-foreground/90 hover:text-background/80 transition-colors duration-800')}
7172
onClick={() => {
7273
setSelectedFile(() => {
7374
audioStop()

0 commit comments

Comments
 (0)