UX: userstatus limit handling in UI (#20343)

* UX: handle long userstatus in menupanel

* UX: remove margin on userstatus emoji

* UX: change emoji sise of user status in DM creator

* FIX: user status overflow on chat index
This commit is contained in:
chapoi 2023-02-17 12:54:56 +07:00 committed by GitHub
parent 8a224bf999
commit 8465f53a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -159,6 +159,9 @@
} }
.item-label { .item-label {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--primary); color: var(--primary);
} }

View File

@ -158,7 +158,8 @@
margin-left: 0.3em; margin-left: 0.3em;
.emoji { .emoji {
margin-bottom: 0.2em; width: 15px;
height: 15px;
} }
} }
} }

View File

@ -70,6 +70,7 @@
} }
&__name { &__name {
flex-shrink: 0;
margin-left: 0.75em; margin-left: 0.75em;
font-size: var(--font-up-1); font-size: var(--font-up-1);
} }
@ -77,6 +78,11 @@
&__category-badge { &__category-badge {
font-size: var(--font-up-1); font-size: var(--font-up-1);
} }
&__user-status-message {
overflow: hidden;
text-overflow: ellipsis;
}
} }
} }