fix mobile ui
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2024-12-16 22:33:38 +01:00
parent 207cda7883
commit 0d0265ab14
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -73,7 +73,7 @@ pub async fn index_page(
let content = html!( let content = html!(
h1 class="text-center text-4xl font-extrabold leading-tight mt-4" { "Random Videos" }; 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 { @for mut vid in library.get_random_videos(3).await {
( video_element(&mut vid).await ); ( video_element(&mut vid).await );
}; };