From 0d0265ab140f17f600f21ed1e55ea567fdde40ab Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 16 Dec 2024 22:33:38 +0100 Subject: [PATCH] fix mobile ui --- src/pages/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.rs b/src/pages/index.rs index 7e679a1..22ebc76 100644 --- a/src/pages/index.rs +++ b/src/pages/index.rs @@ -73,7 +73,7 @@ pub async fn index_page( let content = html!( h1 class="text-center text-4xl font-extrabold leading-tight mt-4" { "Random Videos" }; - div class="grid grid-cols-3 gap-6 p-6" { + div class="lg:grid grid-cols-3 gap-6 p-6" { @for mut vid in library.get_random_videos(3).await { ( video_element(&mut vid).await ); };