From 3ff1d63a8d4126823af7849e82e6620c31c8b567 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 24 Apr 2014 11:10:50 +1000 Subject: [PATCH] Improve mobile style for topic lists This has been driving me nuts for a while now --- .../mobile/list/topic_list_item.js.handlebars | 10 ++++------ app/assets/stylesheets/mobile/topic-list.scss | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars index c687296bd6e..5fd7bccec40 100644 --- a/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars +++ b/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars @@ -33,22 +33,20 @@ {{/unless}}
- + {{#if like_count}} - + {{/if}} -
- {{last_poster_username}} -
- {{#if bumped}} {{else}} {{/if}} diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index 1e99085acd1..135b619bc97 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -130,10 +130,19 @@ .topic-item-stats { .category, .num, .last-poster { float: left; - margin-right: 8px; + margin-right: 14px; } - .posts { - font-weight: bold; + .fa { + color: lighten($black, 50%); + } + .fa-heart{ + position: relative; + left: -1px; + } + .fa-comment{ + position: relative; + top: -1px; + left: 1px; } }