diff --git a/website/client/assets/scss/tiers.scss b/website/client/assets/scss/tiers.scss index 35a96ac996..52028395bd 100644 --- a/website/client/assets/scss/tiers.scss +++ b/website/client/assets/scss/tiers.scss @@ -1,41 +1,41 @@ .tier1 { - color: #c42870 !important; + color: #c42870; } .tier2 { - color: #b01515 !important; + color: #b01515; } .tier3 { - color: #d70e14 !important; + color: #d70e14; } .tier4 { - color: #c24d00 !important; + color: #c24d00; } .tier5 { - color: #9e650f !important; + color: #9e650f; } .tier6 { - color: #2b8363 !important; + color: #2b8363; } .tier7 { - color: #167e87 !important; + color: #167e87; } .tier8 { - color: #277eab !important; + color: #277eab; } .tier9 { - color: #6133b4 !important; + color: #6133b4; } .tierNPC, .npc { - color: #77f4c7 !important; + color: #77f4c7; fill: #77f4c7; stroke: #005737; } diff --git a/website/client/components/challenges/findChallenges.vue b/website/client/components/challenges/findChallenges.vue index bbd53e046e..875488e62b 100644 --- a/website/client/components/challenges/findChallenges.vue +++ b/website/client/components/challenges/findChallenges.vue @@ -21,13 +21,13 @@ .row .col-12.col-md-6(v-for='challenge in filteredChallenges') challenge-item(:challenge='challenge') - - .row - h2.col-12.loading(v-if='loading') {{ $t('loading') }} - - .row - .col-12.text-center(v-if='showLoadMore && !loading && filteredChallenges.length > 0') - button.btn.btn-flat.btn-show-more(@click='loadMore()') {{ $t('loadMore') }} + mugen-scroll( + :handler="infiniteScrollTrigger", + :should-handle="!loading && canLoadMore", + :threshold="1", + v-show="loading", + ) + h2.col-12.loading(v-once) {{ $t('loading') }}