Limit width of the display name in user menu (#33746)

* Limit width of the display name in user menu

Fixes https://github.com/element-hq/element-web/issues/33726

* Change js-sdk moduleNameMapper to apps/web (#33734)

Turns out the pnpm link has to be set to apps/web to actually work, so update the moduleNameMapper to look there too.

* update screenshots

* Update snapshot

* Update other snapshots

* Snapshot

* More snapshots
This commit is contained in:
David Baker
2026-06-05 09:49:28 +00:00
committed by GitHub
parent 702bd7a5a4
commit 5ab5fa1e04
6 changed files with 18 additions and 11 deletions
@@ -7,19 +7,19 @@ exports[`<SpacePanel /> should show all activated MetaSpaces in the correct orde
class="mx_SpacePanel collapsed newUi"
>
<div
class="_wrapper_gc5p4_8 mx_UserMenu"
class="_wrapper_11z86_8 mx_UserMenu"
>
<button
aria-expanded="false"
aria-haspopup="menu"
aria-label="User menu"
class="_triggerButton_gc5p4_80"
class="_triggerButton_11z86_80"
data-state="closed"
id="radix-react-use-id-1"
type="button"
>
<div
class="_avatarWrapper_gc5p4_57"
class="_avatarWrapper_11z86_57"
>
<span
aria-label="@test:test"