A platform for community discussion. Free, open, simple.
UX: fix featured link alignment, hide participants wrapper outside of PMs (#27636)
Kris9ab18ed2e398
diff --git a/app/assets/javascripts/discourse/app/components/header/topic/info.gjs b/app/assets/javascripts/discourse/app/components/header/topic/info.gjsindex 3f5b4210ccd..0029a976533 100644--- a/app/assets/javascripts/discourse/app/components/header/topic/info.gjs+++ b/app/assets/javascripts/discourse/app/components/header/topic/info.gjs@@ -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}}diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scssindex e9a18000a7c..89c010dc480 100644--- a/app/assets/stylesheets/common/base/header.scss+++ b/app/assets/stylesheets/common/base/header.scss@@ -363,6 +363,12 @@vertical-align: unset;}}+ .topic-featured-link {+ align-self: baseline;+ .d-icon {+ font-size: var(--font-down-2);+ }+ }}}