UX: chat index flex issues (#29157)

This commit is contained in:
chapoi
2024-10-10 12:55:08 +02:00
committed by GitHub
parent 47f383d1ac
commit 3c03d9b1e5
2 changed files with 10 additions and 4 deletions

View File

@@ -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>
}

View File

@@ -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;
}