From 0fa0bbb541f8150ef5c2fa01353b90949ec718d0 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 22 Jul 2015 16:05:38 +0930 Subject: [PATCH] Fix activity page load more button appearance --- framework/core/js/forum/src/components/ActivityPage.js | 2 +- framework/core/less/forum/ActivityPage.less | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/framework/core/js/forum/src/components/ActivityPage.js b/framework/core/js/forum/src/components/ActivityPage.js index ce7a61833..58c8b5e61 100644 --- a/framework/core/js/forum/src/components/ActivityPage.js +++ b/framework/core/js/forum/src/components/ActivityPage.js @@ -50,7 +50,7 @@ export default class ActivityPage extends UserPage {
{Button.component({ children: app.trans('core.load_more'), - className: 'Button--default', + className: 'Button', onclick: this.loadMore.bind(this) })}
diff --git a/framework/core/less/forum/ActivityPage.less b/framework/core/less/forum/ActivityPage.less index 11979fc2a..535ba4cc2 100644 --- a/framework/core/less/forum/ActivityPage.less +++ b/framework/core/less/forum/ActivityPage.less @@ -1,5 +1,9 @@ -.ActivityPage-loadMore .LoadingIndicator { - height: 46px; +.ActivityPage-loadMore { + text-align: center; + + .LoadingIndicator { + height: 46px; + } } .ActivityPage-list { border-left: 3px solid @control-bg;