mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 17:06:23 +00:00
fix(ui): style not refresh when toggling option for the fold button position
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user