improve(mobile): WIP polish ui details

This commit is contained in:
charlie
2022-11-24 21:26:38 +08:00
parent 48fcd36917
commit 0777a11df4
5 changed files with 13 additions and 11 deletions

View File

@@ -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]