فهرست منبع

fix: expand blocks for publishing mobile

On mobile, publishing users can't see the collapse indicator
and thus aren't able to expand it. This also improves publishing
apps on desktop as users don't have to hover to know when a block
contains more info
Gabriel Horner 1 سال پیش
والد
کامیت
20a09d5bf4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -1810,7 +1810,7 @@
         [:span {:class (if (or (and control-show?
                                     (or collapsed?
                                         (editor-handler/collapsable? uuid {:semantic? true})))
-                               (and collapsed? order-list?))
+                               (and collapsed? (or order-list? config/publishing?)))
                          "control-show cursor-pointer"
                          "control-hide")}
          (ui/rotating-arrow collapsed?)]])