Skip to content

Commit c45611b

Browse files
committed
fix border rounding of video share
1 parent fc43ea0 commit c45611b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/app/s/[videoId]/_components/CapVideoPlayer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ export function CapVideoPlayer({
521521
)}
522522
<div
523523
className={clsx(
524-
"flex absolute inset-0 z-10 justify-center items-center bg-black transition-opacity duration-300 overflow-visible",
524+
"flex absolute inset-0 z-10 rounded-xl justify-center items-center bg-black transition-opacity duration-300 overflow-visible",
525525
videoLoaded || !!uploadProgress
526526
? "opacity-0 pointer-events-none"
527527
: "opacity-100",
@@ -660,7 +660,7 @@ export function CapVideoPlayer({
660660
mainControlsVisible={(arg: boolean) => setMainControlsVisible(arg)}
661661
isUploadingOrFailed={isUploading || isUploadFailed}
662662
>
663-
<MediaPlayerControlsOverlay />
663+
<MediaPlayerControlsOverlay className="rounded-b-xl" />
664664
<MediaPlayerSeek
665665
tooltipThumbnailSrc={
666666
isMobile || !resolvedSrc.isSuccess

0 commit comments

Comments
 (0)