diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-22 00:46:00 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-22 00:46:00 +0100 |
commit | b531fcbc51d7eedf71dcfa60e018115b0179e4f6 (patch) | |
tree | fce4df8e55be4be08e6203a540b4880dac77df83 /src | |
parent | c97556b0d0ba2df2f89aa58e660a7c2047ba5a3a (diff) |
feat(frontend): use dynamic flex sizing for view container
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/tubo/views.cljs | 2 |
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] |