From 7acbd63d9290f8180a5c6f617b6df2e7011e63dc Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 22 Sep 2016 17:39:20 +0800 Subject: [PATCH] FIX: Remove CSS hack. --- .../discourse/templates/components/basic-topic-list.hbs | 3 ++- .../javascripts/discourse/templates/user-topics-list.hbs | 3 ++- app/assets/stylesheets/desktop/user.scss | 6 ------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs b/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs index 895708915..c174d4a9b 100644 --- a/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs +++ b/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs @@ -7,7 +7,8 @@ expandExcerpts=expandExcerpts bulkSelectEnabled=bulkSelectEnabled canBulkSelect=canBulkSelect - selected=selected}} + selected=selected + skipHeader=skipHeader}} {{else}} {{#unless loadingMore}}
diff --git a/app/assets/javascripts/discourse/templates/user-topics-list.hbs b/app/assets/javascripts/discourse/templates/user-topics-list.hbs index 53577f99c..7f8cc03f8 100644 --- a/app/assets/javascripts/discourse/templates/user-topics-list.hbs +++ b/app/assets/javascripts/discourse/templates/user-topics-list.hbs @@ -6,7 +6,8 @@ canBulkSelect=canBulkSelect bulkSelectEnabled=bulkSelectEnabled selected=selected - postsAction="showTopicEntrance"}} + postsAction="showTopicEntrance" + skipHeader=true}} {{conditional-loading-spinner condition=model.loadingMore}} {{/load-more}} diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss index 4c57444da..388076566 100644 --- a/app/assets/stylesheets/desktop/user.scss +++ b/app/assets/stylesheets/desktop/user.scss @@ -669,16 +669,10 @@ } } - .user-right .group-notification-menu { float: right; margin-bottom: 5px; } -.user-right.messages .topic-list { - thead, th.views, td.views { - display: none; - } -} .user-main .nav-stacked { &.activity-list {