enhance(ui): add hint class for the blank content block

This commit is contained in:
charlie
2023-04-11 21:56:42 +08:00
committed by Tienson Qin
parent 3971988c76
commit d4950b1898
2 changed files with 3 additions and 1 deletions

View File

@@ -2796,7 +2796,8 @@
:class (str uuid
(when pre-block? " pre-block")
(when (and card? (not review-cards?)) " shadow-md")
(when selected? " selected noselect"))
(when selected? " selected noselect")
(when (string/blank? content) " is-blank"))
:blockid (str uuid)
:haschild (str (boolean has-child?))}