Show tooltip for long statuses.

This commit is contained in:
Paul
2021-07-06 22:58:45 +01:00
parent cf7dd6f99b
commit 9bbbf5ffc8
3 changed files with 14 additions and 4 deletions

View File

@@ -35,7 +35,7 @@
display: flex;
flex-direction: column;
> * {
* {
min-width: 0;
overflow: hidden;
white-space: nowrap;

View File

@@ -152,7 +152,7 @@ export function UserProfile({ user_id, onClose, dummy, dummyProfile }: Props) {
</Localizer>
{user.status?.text && (
<span className={styles.status}>
<UserStatus user={user} />
<UserStatus user={user} tooltip />
</span>
)}
</div>