mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:15:32 +08:00
Merge pull request #2837 from awesomerobot/master
category badge now falls below topic title & other small fixes
This commit is contained in:
commit
2d12451ab1
|
@ -30,12 +30,7 @@
|
||||||
{{#unless is_warning}}
|
{{#unless is_warning}}
|
||||||
<span class="private-message-glyph"><i class='fa fa-envelope'></i></span>
|
<span class="private-message-glyph"><i class='fa fa-envelope'></i></span>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
{{#unless isPrivateMessage}}
|
|
||||||
{{#if category.parentCategory}}
|
|
||||||
{{bound-category-link category.parentCategory}}
|
|
||||||
{{/if}}
|
|
||||||
{{bound-category-link category}}
|
|
||||||
{{/unless}}
|
|
||||||
{{#if details.loaded}}
|
{{#if details.loaded}}
|
||||||
{{topic-status topic=model}}
|
{{topic-status topic=model}}
|
||||||
<a href='{{unbound url}}' {{action "jumpTop"}}>
|
<a href='{{unbound url}}' {{action "jumpTop"}}>
|
||||||
|
@ -52,6 +47,16 @@
|
||||||
<a href='#' {{action "editTopic"}} class='edit-topic' title='{{i18n edit}}'><i class="fa fa-pencil"></i></a>
|
<a href='#' {{action "editTopic"}} class='edit-topic' title='{{i18n edit}}'><i class="fa fa-pencil"></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
<div class="title-category-wrapper">
|
||||||
|
{{#unless isPrivateMessage}}
|
||||||
|
{{#if category.parentCategory}}
|
||||||
|
{{bound-category-link category.parentCategory}}
|
||||||
|
{{/if}}
|
||||||
|
{{bound-category-link category}}
|
||||||
|
{{/unless}}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{plugin-outlet "topic-title"}}
|
{{plugin-outlet "topic-title"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -53,6 +53,8 @@
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
color: scale-color($primary, $lightness: 50%);
|
color: scale-color($primary, $lightness: 50%);
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
.groups {
|
.groups {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -120,7 +122,7 @@
|
||||||
.badge-section {
|
.badge-section {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
float: left;
|
float: left;
|
||||||
width: 300px;
|
width: 270px;
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
color: $primary;
|
color: $primary;
|
||||||
|
|
|
@ -415,7 +415,7 @@ a.star {
|
||||||
.avatars,
|
.avatars,
|
||||||
.links,
|
.links,
|
||||||
.information {
|
.information {
|
||||||
padding: 7px 10px;
|
padding: 7px 10px 15px 10px;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
}
|
}
|
||||||
.information {
|
.information {
|
||||||
|
|
|
@ -49,6 +49,10 @@
|
||||||
}
|
}
|
||||||
a.edit-topic { font-size: 15px; position: absolute; margin-left: 8px; }
|
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 {
|
.topic-statuses {
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user