Prettier loading state for bounties and activity views
This commit is contained in:
parent
0bf840d19d
commit
62f955683c
|
@ -65,7 +65,7 @@
|
|||
activity-feed-loading? (rf/subscribe [:get-in [:activity-feed-loading?]])]
|
||||
(fn []
|
||||
(if @activity-feed-loading?
|
||||
[:div
|
||||
[:div.view-loading-container
|
||||
[:div.ui.active.inverted.dimmer
|
||||
[:div.ui.text.loader "Loading"]]]
|
||||
[:div.ui.text.loader.view-loading-label "Loading"]]]
|
||||
[activity-list @activity-items]))))
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
open-bounties-loading? (rf/subscribe [:get-in [:open-bounties-loading?]])]
|
||||
(fn []
|
||||
(if @open-bounties-loading?
|
||||
[:container
|
||||
[:div.view-loading-container
|
||||
[:div.ui.active.inverted.dimmer
|
||||
[:div.ui.text.loader "Loading"]]]
|
||||
[:div.ui.text.loader.view-loading-label "Loading"]]]
|
||||
[bounties-list @open-bounties]))))
|
||||
|
|
Loading…
Reference in New Issue