mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 23:19:38 +00:00
refactor(quick-add): simplify logical and remove duplicated button
This commit is contained in:
@@ -49,14 +49,11 @@
|
||||
(when-not mobile? (shui/shortcut ["mod" "e"]))
|
||||
(t :editor.quick-add/add-to-today))]]
|
||||
[:div.ls-quick-add.flex.flex-1.flex-col.w-full.gap-4
|
||||
(when-not (util/mobile?)
|
||||
(when-not mobile?
|
||||
[:div.flex.flex-row.justify-between.gap-4.items-center
|
||||
{:class (if mobile?
|
||||
"pt-4"
|
||||
"border-b pb-4")}
|
||||
{:class "border-b pb-4"}
|
||||
[:div.font-medium
|
||||
(t :editor.quick-add/title)]
|
||||
add-button])
|
||||
(t :editor.quick-add/title)]])
|
||||
(if mobile?
|
||||
[:div.w-full.mt-4
|
||||
(page-blocks add-page)]
|
||||
|
||||
Reference in New Issue
Block a user