From df4537bbe31e1120202a59131d02c99f78ab2049 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:30:03 +0100 Subject: [PATCH] fix(ui): it was flexbox --- apps/web/src/app/(ui)/layout.tsx | 4 ++-- apps/web/src/components/app/StreamGrid/StreamGrid.tsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/(ui)/layout.tsx b/apps/web/src/app/(ui)/layout.tsx index 5c5beec..9bc897d 100644 --- a/apps/web/src/app/(ui)/layout.tsx +++ b/apps/web/src/app/(ui)/layout.tsx @@ -59,10 +59,10 @@ export default async function RootLayout({ {/* this promise is ugly but i'm lazy to fix the type errors */} )} /> -
+
{/* pt-16 for navbar height */} -
{children}
+
{children}
diff --git a/apps/web/src/components/app/StreamGrid/StreamGrid.tsx b/apps/web/src/components/app/StreamGrid/StreamGrid.tsx index 80897c3..1d66e6b 100644 --- a/apps/web/src/components/app/StreamGrid/StreamGrid.tsx +++ b/apps/web/src/components/app/StreamGrid/StreamGrid.tsx @@ -24,7 +24,7 @@ export default function StreamGrid({ liveStreams, offlineStreams }: StreamGridPr const sortedLiveStreams = [...liveStreams].sort((a, b) => b.viewers - a.viewers); return ( -
+
{sortedLiveStreams.length === 0 && (
@@ -53,13 +53,13 @@ export default function StreamGrid({ liveStreams, offlineStreams }: StreamGridPr )} {offlineStreams.length > 0 && ( -
+
- + {offlineStreams.map((stream) => ( - + ))} @@ -128,7 +128,7 @@ function StreamCard({ stream }: { stream: StreamWithChannel }) { function OfflineCard({ stream }: { stream: StreamWithChannel }) { return ( - +