fix(mobile): block control not displayed initially when collapsed

This commit is contained in:
Tienson Qin
2025-07-10 15:41:14 +08:00
parent bb6ed709e5
commit d2827edcfa

View File

@@ -2237,7 +2237,7 @@
(when (and (state/developer-mode?) (.-metaKey event))
(js/console.debug "[block config]==" config)))}
[:span {:class (if (or (and control-show? (or collapsed? collapsable?))
(and collapsed? (or page-title? order-list? config/publishing?)))
(and collapsed? (or page-title? order-list? config/publishing? (util/mobile?))))
"control-show cursor-pointer"
"control-hide")}
(ui/rotating-arrow collapsed?)]])