UX: prevent user card status overflow (#19979)

This commit is contained in:
Kris 2023-01-24 13:58:24 -05:00 committed by GitHub
parent 4da8e15801
commit e71bf672cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -111,7 +111,9 @@
{{#if this.hasStatus}}
<h3 class="user-status">
{{html-safe this.userStatusEmoji}}
{{this.user.status.description}}
<span class="user-status__description">
{{this.user.status.description}}
</span>
{{format-date this.user.status.ends_at format="tiny"}}
</h3>
{{/if}}

View File

@ -307,6 +307,7 @@ h3.user-status {
}
.relative-date {
flex: 1 0 auto;
text-align: left;
font-size: var(--font-down-3);
padding-top: 0.5em;