|
|
@@ -8,6 +8,7 @@
|
|
|
[frontend.mobile.action-bar :as action-bar]
|
|
|
[frontend.mobile.mobile-bar :as mobile-bar]
|
|
|
[frontend.state :as fstate]
|
|
|
+ [logseq.shui.ui :as shui]
|
|
|
[rum.core :as rum]))
|
|
|
|
|
|
(rum/defc block-modal < rum/reactive
|
|
|
@@ -27,7 +28,11 @@
|
|
|
[:span.opacity-40.active:opacity-60
|
|
|
{:on-click #(swap! state/*modal-data assoc :open? false)}
|
|
|
(ion/tabler-icon "chevron-down" {:size 16 :stroke 3})]
|
|
|
- [:span.opacity-40.active:opacity-60 (ion/tabler-icon "dots-vertical" {:size 18 :stroke 2})])
|
|
|
+ [:span.opacity-40.active:opacity-60
|
|
|
+ {:on-click (fn [^js e]
|
|
|
+ (shui/popup-show! (.-target e)
|
|
|
+ (fn [] [:strong.text-2xl.p-5.block.text-red-800 "TODO: block page actions"])))}
|
|
|
+ (ion/tabler-icon "dots-vertical" {:size 18 :stroke 2})])
|
|
|
|
|
|
(ion/content {:class "ion-padding scrolling"}
|
|
|
(ui/classic-app-container-wrap
|