Add user status in user info right panel card (#34212)

* Add user status in user info right panel card

Adds a very simple view component to do so, which will be reused
in the DM room header.

Also comment the other status view so the difference is clear.

* Add screenshot

* Add test

* Rename snapshot
This commit is contained in:
David Baker
2026-07-10 14:45:41 +00:00
committed by GitHub
parent efb3c0090d
commit f09b27db7c
8 changed files with 112 additions and 1 deletions
@@ -0,0 +1,23 @@
/*
* Copyright 2026 Element Creations Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
.statusText {
display: inline-flex;
align-items: center;
gap: var(--cpd-space-1x);
span {
font: var(--cpd-font-body-md-medium);
color: var(--cpd-color-text-secondary);
}
.menuStatusText {
overflow: hidden;
min-width: 0;
text-overflow: ellipsis;
}
}