Skip to content

Instantly share code, notes, and snippets.

View Sarwan72's full-sized avatar

Sarwan Maurya Sarwan72

View GitHub Profile
{/* Video Grid */}
<main className="flex-1 h-screen overflow-hidden bg-black">
{/*Mobile Layout (Vertical scroll, only 3 visible at a time) */}
<div className="md:hidden h-full overflow-y-auto px-2 pb-28">
<div
className="flex flex-col gap-2"
style={{ height: "100%", overflowY: "auto" }}
>
{/* Local video */}
<div className="h-[calc(100vh/3.2)]">