diff --git a/app/assets/javascripts/discourse/components/topic-list-item.js.es6 b/app/assets/javascripts/discourse/components/topic-list-item.js.es6
index c400737fbfc..45a27b7ccdf 100644
--- a/app/assets/javascripts/discourse/components/topic-list-item.js.es6
+++ b/app/assets/javascripts/discourse/components/topic-list-item.js.es6
@@ -96,13 +96,6 @@ export default Ember.Component.extend(
return classes.join(" ");
},
- titleColSpan: function() {
- return !this.get("hideCategory") &&
- this.get("topic.isPinnedUncategorized")
- ? 2
- : 1;
- }.property("topic.isPinnedUncategorized"),
-
hasLikes: function() {
return this.get("topic.like_count") > 0;
},
diff --git a/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs b/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs
index 34616743db0..d0b1077dd46 100644
--- a/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs
+++ b/app/assets/javascripts/discourse/templates/list/topic-list-item.raw.hbs
@@ -11,7 +11,7 @@
This causes the topic-post-badge to be considered the same word as "text"
at the end of the link, preventing it from line wrapping onto its own line.
--}}
-
{{~raw-plugin-outlet name="topic-list-before-status"}}
{{~raw "topic-status" topic=topic}}
@@ -24,20 +24,20 @@
{{~raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl newDotText=newDotText}}
{{~/if}}
-
+
+ {{#unless hideCategory}}
+ {{#unless topic.isPinnedUncategorized}}
+ {{category-link topic.category}}
+ {{/unless}}
+ {{/unless}}
{{discourse-tags topic mode="list" tagsForUser=tagsForUser}}
{{#if expandPinned}}
{{raw "list/topic-excerpt" topic=topic}}
{{/if}}
{{raw "list/action-list" topic=topic postNumbers=topic.liked_post_numbers className="likes" icon="heart"}}
+
|
-{{#unless hideCategory}}
- {{#unless topic.isPinnedUncategorized}}
- {{raw "list/category-column" category=topic.category}}
- {{/unless}}
-{{/unless}}
-
{{#if showPosters}}
{{raw "list/posters-column" posters=topic.posters}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs b/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs
index 361ffb91b95..5bae677fa08 100644
--- a/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs
+++ b/app/assets/javascripts/discourse/templates/topic-list-header.raw.hbs
@@ -6,9 +6,6 @@
{{/if}}
{{raw "topic-list-header-column" order='default' name=listTitle bulkSelectEnabled=bulkSelectEnabled showBulkToggle=toggleInTitle canBulkSelect=canBulkSelect}}
-{{#unless hideCategory}}
- {{raw "topic-list-header-column" sortable=sortable order='category' name='category_title'}}
-{{/unless}}
{{#if showPosters}}
{{raw "topic-list-header-column" order='posters' name='users'}}
{{/if}}
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index e29caaaae42..d25c03662e2 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -131,6 +131,10 @@
@extend .topic-list-main-link;
}
+ .link-bottom-line {
+ font-size: $font-down-1;
+ }
+
.topic-featured-link {
padding-left: 5px;
}
diff --git a/app/assets/stylesheets/common/base/tagging.scss b/app/assets/stylesheets/common/base/tagging.scss
index 9f78dc5ae16..122f694b9e4 100644
--- a/app/assets/stylesheets/common/base/tagging.scss
+++ b/app/assets/stylesheets/common/base/tagging.scss
@@ -124,10 +124,9 @@ $tag-color: $primary-medium;
}
.topic-list-item .discourse-tags {
- display: block;
- font-size: $font-down-2;
+ display: inline-block;
font-weight: normal;
- clear: both;
+ font-size: $font-down-1;
.discourse-tag.box {
position: relative;
diff --git a/app/assets/stylesheets/desktop/category-list.scss b/app/assets/stylesheets/desktop/category-list.scss
index 4cdf6ea6a00..4993ed884b3 100644
--- a/app/assets/stylesheets/desktop/category-list.scss
+++ b/app/assets/stylesheets/desktop/category-list.scss
@@ -129,8 +129,11 @@
}
}
- .discourse-tag {
- font-size: $font-down-2;
+ .discourse-tags {
+ display: inline-block;
+ .discourse-tag {
+ font-size: $font-down-1;
+ }
}
.topic-featured-link {
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index 46082442841..b6c5fb6f6d6 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -281,10 +281,6 @@ button.dismiss-read {
padding: 10px;
font-size: $font-0;
}
- .category {
- min-width: 0;
- padding: 0;
- }
// suppress views column
th.views {
display: none;
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index 6ab671de833..2556ef650f4 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -449,10 +449,6 @@ nav.post-controls {
padding: 20px 0 15px 0;
table {
margin-top: 10px;
- } // this forces category to take less space in suggested topics
- // as the poster list is not present at all there.
- th.category {
- width: 150px;
}
}