xonecas.io
4828
Sr

stream-together / commit e291b12

Only stack hosts in a column if the width is too narrow

Otherwise let's make full use of the wide screen.

sean2024-06-28 e291b12f3323006fa3898c8efef22f0fdc005118 parent 72a7bd2

1 file changed

components/agora-host-video.tsx+1−1
@@ -110,7 +110,7 @@ export default function AgoraHost() {
110110 const otherHosts = useRemoteUsers();
111111
112112 return (
113- <div className="flex flex-col gap-8 w-full items-center">
113+ <div className="flex flex-col md:flex-row gap-8 w-full items-center">
114114 <div className="rounded-3xl overflow-hidden bg-black w-full max-w-2xl aspect-[4/3]">
115115 <LocalUser
116116 audioTrack={localMicrophoneTrack}