aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-28 22:00:44 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-28 22:00:44 +0200
commitcbe047d3a7c47d22b4f0c301975413293d83902e (patch)
tree0c421f68c0e971d9342680cb2fc6370a09696c19 /src
parent278109c545762a33ba7ef5f68d3161079423e243 (diff)
feat(frontend): make kiosk and search pages layout uniform
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/views/kiosk.cljs2
-rw-r--r--src/frontend/tubo/views/search.cljs5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/frontend/tubo/views/kiosk.cljs b/src/frontend/tubo/views/kiosk.cljs
index 18566c3..884cf27 100644
--- a/src/frontend/tubo/views/kiosk.cljs
+++ b/src/frontend/tubo/views/kiosk.cljs
@@ -18,7 +18,7 @@
[:div.flex.flex-col.items-center.px-5.py-2.flex-auto
(if page-loading?
[loading/loading-icon service-color "text-5xl"]
- [:div.flex.flex-col.flex-auto.w-full {:class "lg:w-4/5"}
+ [:div.flex.flex-col.flex-auto.w-full {:class "lg:w-4/5 xl:w-3/5"}
[:div.flex.justify-center.items-center.my-4.mx-2
[:div.m-4
[:h1.text-2xl id]]]
diff --git a/src/frontend/tubo/views/search.cljs b/src/frontend/tubo/views/search.cljs
index e08b586..a121be2 100644
--- a/src/frontend/tubo/views/search.cljs
+++ b/src/frontend/tubo/views/search.cljs
@@ -18,10 +18,7 @@
(when scrolled-to-bottom?
(rf/dispatch [::events/search-pagination q serviceId next-page-url]))
[:div.flex.flex-col.items-center.flex-auto
- [:div.flex.flex-col.items-center.w-full.p-4.flex-initial
- [:h2 (str "Showing search results for: \"" q "\"")]
- [:h1 (str "Number of search results: " (count items))]]
(if page-loading?
[loading/loading-icon service-color "text-5xl"]
- [:div.flex.flex-col.flex-auto.w-full {:class "lg:w-4/5"}
+ [:div.flex.flex-col.flex-auto.w-full {:class "lg:w-4/5 xl:w-3/5"}
[items/related-streams items next-page-url]])]))