mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: align suggested messages
This commit is contained in:
parent
90291318eb
commit
d3943b97df
3 changed files with 10 additions and 4 deletions
|
@ -9,7 +9,7 @@ export default Ember.Component.extend({
|
|||
suggestedTitle(topic) {
|
||||
const href = this.currentUser && this.currentUser.pmPath(topic);
|
||||
return topic.get('isPrivateMessage') && href ?
|
||||
`<a href="${href}">${iconHTML('envelope', { class: 'private-message-glyph' })}</a> ${I18n.t("suggested_topics.pm_title")}` :
|
||||
`<a href="${href}">${iconHTML('envelope', { class: 'private-message-glyph' })}</a><span>${I18n.t("suggested_topics.pm_title")}</span>` :
|
||||
I18n.t("suggested_topics.title");
|
||||
},
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<h3>{{{suggestedTitle}}}</h3>
|
||||
<h3 class="suggested-topics-title">{{{suggestedTitle}}}</h3>
|
||||
|
||||
<div class="topics">
|
||||
{{#if topic.isPrivateMessage}}
|
||||
{{basic-topic-list
|
||||
|
@ -9,4 +10,5 @@
|
|||
{{basic-topic-list topics=topic.suggestedTopics}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<h3 class='suggested-topics-message'>{{{browseMoreMessage}}}</h3>
|
||||
|
||||
<h3 class="suggested-topics-message">{{{browseMoreMessage}}}</h3>
|
||||
|
|
|
@ -145,7 +145,6 @@ a.badge-category {
|
|||
.badge-wrapper {
|
||||
float: left;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.has-pending-posts {
|
||||
|
@ -183,6 +182,11 @@ a.badge-category {
|
|||
max-width: 150px;
|
||||
}
|
||||
|
||||
#suggested-topics .suggested-topics-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.topic-unsubscribe {
|
||||
.notifications-button {
|
||||
display: inline-block;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue