Skip to content

Commit

Permalink
fix: bottom bar position
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc authored and tiensonqin committed Apr 12, 2023
1 parent e8817bc commit 793768f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/frontend/components/bottom_bar.css
@@ -1,5 +1,6 @@
#ls-bottom-bar {
@apply shadow-lg text-sm p-1 fixed bottom-0 rounded-md;
@apply shadow-lg text-sm p-1 absolute bottom-0;
background-color: var(--ls-primary-background-color);

.items {
@apply flex flex-row flex-1;
Expand Down
5 changes: 2 additions & 3 deletions src/main/frontend/components/container.cljs
Expand Up @@ -552,9 +552,8 @@
main-content])

(when onboarding-and-home?
(onboarding/intro onboarding-and-home?))]

(bottom-bar/bar)]]))
(onboarding/intro onboarding-and-home?))]]
(bottom-bar/bar)]))

(defonce sidebar-inited? (atom false))
;; TODO: simplify logic
Expand Down

0 comments on commit 793768f

Please sign in to comment.