From eadf5e9b02a19d8a0f8ea2a4b046484972477e36 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 12 Dec 2013 17:27:25 -0500 Subject: [PATCH] Move columns around on wide categories page --- .../templates/list/wide_categories.js.handlebars | 10 +++++----- app/assets/stylesheets/desktop/topic-list.scss | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars b/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars index 60146cc8213..3135804c155 100644 --- a/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars +++ b/app/assets/javascripts/discourse/templates/list/wide_categories.js.handlebars @@ -4,11 +4,11 @@ {{i18n categories.category}} + {{i18n categories.latest}} {{i18n categories.topics}} - {{i18n categories.posts}} - {{i18n categories.latest}} + {{i18n categories.posts}} {{#if canEdit}} - + {{/if}} @@ -52,8 +52,6 @@ {{/if}} - {{number topic_count}} - {{number post_count}} {{#each featuredTopics}} {{/each}} + {{number topic_count}} + {{number post_count}} {{/each}} diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss index 72d45acb5dc..c6cd133a82f 100644 --- a/app/assets/stylesheets/desktop/topic-list.scss +++ b/app/assets/stylesheets/desktop/topic-list.scss @@ -234,14 +234,14 @@ } #topic-list.categories { - th.latest { + th.posts { position: relative; } th .toggle-admin { position: absolute; padding: 3px 8px; font-size: 12px; - right: 5px; + right: -35px; top: 4px; } th.latest, td.latest {