Skip to content

Commit 73f8cc7

Browse files
committed
fix theater mode
1 parent 176a6ca commit 73f8cc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react/src/routes/watch.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ const VideoContent = ({
6666
"flex-row-reverse": chatPos === "left",
6767
})}
6868
>
69-
<div className="grow">
69+
{/* min-w-0 and shrink are necessary here for the player to shrink on Chrome (specifically Chrome) */}
70+
<div className="min-w-0 shrink grow">
7071
<PlayerWrapper id={currentVideo?.id} url={url} />
7172
</div>
7273
{theaterMode && <TheaterModeChat currentVideo={currentVideo} />}

0 commit comments

Comments
 (0)