Prettier loading state for bounties and activity views

This commit is contained in:
Teemu Patja 2017-11-06 12:40:55 +02:00
parent 0bf840d19d
commit 62f955683c
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
2 changed files with 4 additions and 4 deletions

View File

@ -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]))))

View File

@ -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]))))