feat: use flex for drag resize

This commit is contained in:
Junyu Zhan
2021-04-14 10:43:29 +08:00
committed by Tienson Qin
parent 9fe925f9fc
commit c134aa1660
3 changed files with 30 additions and 21 deletions

View File

@@ -333,7 +333,7 @@
:close-fn close-fn
:route-match route-match})
[:div.#app-container.h-screen.flex
[[:div.w-full.h-full.flex.flex-col
[[:div.flex-1.h-full.flex.flex-col#left-main {:class (if sidebar-open? "sidebar-open")}
[(header/header {:open-fn open-fn
:white? white?
:current-repo current-repo
@@ -344,6 +344,7 @@
:default-home default-home
:new-block-mode new-block-mode})
(main {:route-match route-match
:global-graph-pages? global-graph-pages?
:logged? logged?