UX: fix featured link alignment, hide participants wrapper outside of PMs (#27636)

This commit is contained in:
Kris 2024-06-27 13:47:12 -04:00 committed by GitHub
parent 3ce618e57a
commit 9ab18ed2e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View File

@ -157,8 +157,8 @@ export default class Info extends Component {
<div class="topic-header-extra">
{{htmlSafe this.tags}}
<div class="topic-header-participants">
{{#if this.showPM}}
{{#if this.showPM}}
<div class="topic-header-participants">
{{#each this.participants as |participant|}}
<Participant
@user={{participant}}
@ -178,8 +178,8 @@ export default class Info extends Component {
+{{this.remainingParticipantCount}}
</a>
{{/if}}
{{/if}}
</div>
</div>
{{/if}}
{{#if this.siteSettings.topic_featured_link_enabled}}
<FeaturedLink />
{{/if}}

View File

@ -363,6 +363,12 @@
vertical-align: unset;
}
}
.topic-featured-link {
align-self: baseline;
.d-icon {
font-size: var(--font-down-2);
}
}
}
}