mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
enhance(mobile): add create new graph link to graph switcher
This commit is contained in:
@@ -112,6 +112,10 @@ html.is-zoomed-native-ios {
|
||||
}
|
||||
}
|
||||
|
||||
.ui__dialog-content {
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
html.has-mobile-keyboard {
|
||||
.ui__dialog-overlay {
|
||||
&:has(.app-login-modal) {
|
||||
|
||||
@@ -104,7 +104,12 @@
|
||||
(ui-component/open-popup!
|
||||
(fn []
|
||||
[:div.px-1
|
||||
(repo/repos-dropdown-content {:footer? false})])
|
||||
(repo/repos-dropdown-content {:footer? false})
|
||||
(ui/menu-link
|
||||
{:on-click #(p/do!
|
||||
(shui/popup-hide!)
|
||||
(state/pub-event! [:graph/new-db-graph]))}
|
||||
"Create new graph")])
|
||||
{:default-height false}))
|
||||
|
||||
(defn- register-native-top-bar-events! []
|
||||
|
||||
Reference in New Issue
Block a user