fix: input border & loading animation

This commit is contained in:
charlie
2020-12-08 17:48:26 +08:00
parent 9f6839645b
commit c79148dc2d
5 changed files with 49 additions and 84 deletions

View File

@@ -452,10 +452,9 @@
(defn loading
[content]
[:div.flex.flex-row.align-center
[:span.lds-dual-ring.mr-2]
[:span {:style {:margin-top 2}}
content]])
[:div.flex.flex-row.items-center
[:span.icon.flex.items-center svg/loading]
[:span.text.pl-2 content]])
(rum/defcs foldable <
(rum/local false ::control?)