fix(ui): style not refresh when toggling option for the fold button position

This commit is contained in:
charlie
2022-11-25 14:49:10 +08:00
parent c3ac05181d
commit 0d04e777fc
4 changed files with 16 additions and 6 deletions

View File

@@ -1712,11 +1712,7 @@
ref? (:ref? config)
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"}}
[:div.block-control-wrap.mr-1.flex.flex-row.items-center.sm:mr-2
(when (or (not fold-button-right?) has-child?)
[:a.block-control
{:id (str "control-" uuid)