Skip to content

Commit c8f6cdb

Browse files
committed
fix: z-index
1 parent 5bad88d commit c8f6cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/components/media/media.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export const MediaBox: FC<{
486486
/>
487487
)}
488488
<div className="w-full h-full rounded-[6px] overflow-hidden relative">
489-
<div className="absolute left-[50%] top-[50%] -translate-x-[50%] -translate-y-[50%]">
489+
<div className="absolute z-[20] left-[50%] top-[50%] -translate-x-[50%] -translate-y-[50%]">
490490
<div
491491
onClick={maximize(media)}
492492
className="cursor-pointer p-[4px] bg-black/40 hidden group-hover:block hover:scale-150 transition-all"

0 commit comments

Comments
 (0)