|
|
@@ -1711,13 +1711,14 @@
|
|
|
(let [doc-mode? (state/sub :document/mode?)
|
|
|
control-show? (util/react *control-show?)
|
|
|
ref? (:ref? config)
|
|
|
- empty-content? (block-content-empty? block)]
|
|
|
+ empty-content? (block-content-empty? block)
|
|
|
+ fold-button-right? (state/enable-fold-button-right?)]
|
|
|
[:div.mr-1.flex.flex-row.items-center.sm:mr-2
|
|
|
{:style {:height 24
|
|
|
:margin-top 0
|
|
|
:float "left"}}
|
|
|
|
|
|
- (when has-child?
|
|
|
+ (when (or (not fold-button-right?) has-child?)
|
|
|
[:a.block-control
|
|
|
{:id (str "control-" uuid)
|
|
|
:on-click (fn [event]
|