mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: chat index flex issues (#29157)
This commit is contained in:
@@ -69,10 +69,6 @@ export default class ChatChannelName extends Component {
|
||||
<div class="chat-channel-name__label">
|
||||
{{replaceEmoji this.channelTitle}}
|
||||
|
||||
{{#if this.unreadIndicator}}
|
||||
<ChatChannelUnreadIndicator @channel={{@channel}} />
|
||||
{{/if}}
|
||||
|
||||
{{#if this.showUserStatus}}
|
||||
<UserStatusMessage
|
||||
@status={{get this.users "0.status"}}
|
||||
@@ -94,6 +90,10 @@ export default class ChatChannelName extends Component {
|
||||
{{yield}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#if this.unreadIndicator}}
|
||||
<ChatChannelUnreadIndicator @channel={{@channel}} />
|
||||
{{/if}}
|
||||
</div>
|
||||
</template>
|
||||
}
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
@include ellipsis;
|
||||
color: var(--primary);
|
||||
|
||||
.chat-channel-row__info & {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.has-unread & {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user