Browse Source

feat(frontend): don't apply item cards layout to mobile

Miguel Ángel Moreno 1 year ago
parent
commit
fa9b545fab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/frontend/tubo/components/items.cljs

+ 1 - 1
src/frontend/tubo/components/items.cljs

@@ -103,7 +103,7 @@
        [:div.flex.items-center.flex-auto
         [:p "No available streams"]]
        [:div.grid.w-full.gap-x-10.gap-y-5
-        {:class "grid-cols-[repeat(auto-fill,_minmax(171px,_1fr))]"}
+        {:class "xs:grid-cols-[repeat(auto-fill,_minmax(165px,_1fr))]"}
         (for [[i item] (map-indexed vector related-streams)]
           ^{:key i} [generic-item item service-color bookmarks])])
      (when-not (empty? next-page-url)