diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-01-03 15:10:07 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-01-03 15:10:07 +0100 |
commit | f0577537daaf75e8da136bc2a1f303c225b47754 (patch) | |
tree | 7f19ca223c5a3c5dc1496ddf67c7b428e370101c /src | |
parent | 33d43bbf0279636d049631bfe497d5719b1872e2 (diff) |
fix(frontend): Amend styles to make navbar sticky
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/tau/views.cljs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tau/views.cljs b/src/frontend/tau/views.cljs index d425a26..5f718c2 100644 --- a/src/frontend/tau/views.cljs +++ b/src/frontend/tau/views.cljs @@ -21,7 +21,7 @@ id (js/parseInt (or serviceId service-id)) mobile-nav? @(rf/subscribe [:show-mobile-nav]) {:keys [available-kiosks default-kiosk]} @(rf/subscribe [:kiosks])] - [:nav.flex.px-2.py-2.5.content-center.sticky.top-0.z-50.font-nunito + [:nav.flex.px-2.py-2.5.items-center.sticky.top-0.z-50.font-nunito {:style {:background service-color}} [:div.flex.items-center.justify-between.flex-auto [:div.py-2 @@ -88,7 +88,7 @@ (defn app [] (let [current-match @(rf/subscribe [:current-match])] - [:div.min-h-screen.flex.flex-col.h-full.text-white.bg-neutral-900.overflow-x-hidden + [:div.min-h-screen.flex.flex-col.h-full.text-white.bg-neutral-900.relative [navbar current-match] [:div.flex.flex-col.justify-between.relative.font-nunito {:class "min-h-[calc(100vh-58px)]"} (when-let [view (-> current-match :data :view)] |