aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-01-22 00:46:00 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-01-22 00:46:00 +0100
commitb531fcbc51d7eedf71dcfa60e018115b0179e4f6 (patch)
treefce4df8e55be4be08e6203a540b4880dac77df83
parentc97556b0d0ba2df2f89aa58e660a7c2047ba5a3a (diff)
feat(frontend): use dynamic flex sizing for view container
-rw-r--r--src/frontend/tubo/views.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/tubo/views.cljs b/src/frontend/tubo/views.cljs
index d1e6ede..22dd42e 100644
--- a/src/frontend/tubo/views.cljs
+++ b/src/frontend/tubo/views.cljs
@@ -125,7 +125,7 @@
[:div {:class (when (= current-theme "dark") "dark")}
[:div.min-h-screen.flex.flex-col.h-full.dark:text-white.dark:bg-neutral-900.relative
[navbar current-match]
- [:div.flex.flex-col.justify-between.relative.font-nunito {:style {:minHeight "100vh"}}
+ [:div.flex.flex-col.flex-auto.justify-between.relative.font-nunito
(when-let [view (-> current-match :data :view)]
[view current-match])
[footer]