diff --git a/app/assets/javascripts/discourse/templates/topic.hbs b/app/assets/javascripts/discourse/templates/topic.hbs index 998b1a57cd6..c73c52d57a6 100644 --- a/app/assets/javascripts/discourse/templates/topic.hbs +++ b/app/assets/javascripts/discourse/templates/topic.hbs @@ -30,12 +30,7 @@ {{#unless is_warning}} {{/unless}} - {{#unless isPrivateMessage}} - {{#if category.parentCategory}} - {{bound-category-link category.parentCategory}} - {{/if}} - {{bound-category-link category}} - {{/unless}} + {{#if details.loaded}} {{topic-status topic=model}} @@ -52,6 +47,16 @@ {{/if}} + +
+ {{#unless isPrivateMessage}} + {{#if category.parentCategory}} + {{bound-category-link category.parentCategory}} + {{/if}} + {{bound-category-link category}} + {{/unless}} +
+ {{/if}} {{plugin-outlet "topic-title"}} diff --git a/app/assets/stylesheets/desktop/poster_expansion.scss b/app/assets/stylesheets/desktop/poster_expansion.scss index 37f85df0b00..95a09bacad7 100644 --- a/app/assets/stylesheets/desktop/poster_expansion.scss +++ b/app/assets/stylesheets/desktop/poster_expansion.scss @@ -53,6 +53,8 @@ font-weight: normal; margin-top: 0; color: scale-color($primary, $lightness: 50%); + overflow: hidden; + text-overflow: ellipsis; } .groups { font-size: 13px; @@ -120,7 +122,7 @@ .badge-section { margin-top: 10px; float: left; - width: 300px; + width: 270px; h3 { color: $primary; diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index c80078c2189..42a526e3bb5 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -415,7 +415,7 @@ a.star { .avatars, .links, .information { - padding: 7px 10px; + padding: 7px 10px 15px 10px; color: $primary; } .information { @@ -716,7 +716,7 @@ blockquote > *:last-child { margin-top: -2px; margin-left: -17px; } - + a.toggle-more { display: block; text-align: right; diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index 3e077d36554..4a297d9f093 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -49,6 +49,10 @@ } a.edit-topic { font-size: 15px; position: absolute; margin-left: 8px; } } + .title-category-wrapper { + margin: 5px 0 0 26px; + .badge-category {margin-bottom: 5px;} + } .topic-statuses { margin-top: -2px;