Improve editor modals style consistency

This commit is contained in:
ranfdev
2021-09-17 17:15:19 +02:00
committed by Tienson Qin
parent 3cbd304a22
commit e1ad100b8c
2 changed files with 5 additions and 6 deletions

View File

@@ -38,8 +38,7 @@
(not (util/safe-re-find #" " q)))
(let [i (string/index-of lc-content lc-q)
[before after] [(subs content 0 i) (subs content (+ i (count q)))]]
[:p
{:class "m-0"}
[:div
(when-not (string/blank? before)
[:span before])
[:mark {:class "p-0 rounded-none"} (subs content i (+ i (count q)))]