From b531fcbc51d7eedf71dcfa60e018115b0179e4f6 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 22 Jan 2024 00:46:00 +0100 Subject: feat(frontend): use dynamic flex sizing for view container --- src/frontend/tubo/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3