fix: some style enhancements to block-control (#3742)

Co-authored-by: Andelf <andelf@gmail.com>
This commit is contained in:
Peng Xiao
2022-01-08 20:22:59 +08:00
committed by GitHub
parent b9af84a4b0
commit 35b7f71254
3 changed files with 18 additions and 7 deletions

View File

@@ -1451,7 +1451,7 @@
(if collapsed?
(editor-handler/expand-block! uuid)
(editor-handler/collapse-block! uuid)))))}
[:span {:class (if control-show? "control-show" "control-hide")}
[:span {:class (if control-show? "control-show cursor-pointer" "control-hide")}
(ui/rotating-arrow collapsed?)]]
(let [bullet [:a {:on-click (fn [event]
(bullet-on-click event block uuid))}