Skip to content

Commit a6dd4a8

Browse files
authoredMar 12, 2025··
fix(ui): move watch trailer button above the 4k request button (#1465)
Fix a z-index issue with the "Watch Trailer" button being under the "Request in 4k" button fix #1462
1 parent 4d1163c commit a6dd4a8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎src/components/MovieDetails/index.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,9 @@ const MovieDetails = ({ movie }: MovieDetailsProps) => {
629629
)}
630630
</>
631631
)}
632-
<PlayButton links={mediaLinks} />
632+
<div className="z-20">
633+
<PlayButton links={mediaLinks} />
634+
</div>
633635
<RequestButton
634636
mediaType="movie"
635637
media={data.mediaInfo}

‎src/components/TvDetails/index.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,9 @@ const TvDetails = ({ tv }: TvDetailsProps) => {
671671
)}
672672
</>
673673
)}
674-
<PlayButton links={mediaLinks} />
674+
<div className="z-20">
675+
<PlayButton links={mediaLinks} />
676+
</div>
675677
<RequestButton
676678
mediaType="tv"
677679
onUpdate={() => revalidate()}

0 commit comments

Comments
 (0)
Please sign in to comment.