From d5335226634dab1cdd3263f77e618e009e7d3fc4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 26 May 2026 15:02:01 +0100 Subject: [PATCH] Fix misaligned display name on desktop (#33623) * Fix misaligned display name on desktop Move the usermenu custom class to the whole thing, not just the button * Update comment * Update snapshot --- .../views/spaces/__snapshots__/SpacePanel-test.tsx.snap | 4 ++-- packages/shared-components/src/menus/UserMenu/UserMenu.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web/test/unit-tests/components/views/spaces/__snapshots__/SpacePanel-test.tsx.snap b/apps/web/test/unit-tests/components/views/spaces/__snapshots__/SpacePanel-test.tsx.snap index 65af4bfd67..a5ef90234d 100644 --- a/apps/web/test/unit-tests/components/views/spaces/__snapshots__/SpacePanel-test.tsx.snap +++ b/apps/web/test/unit-tests/components/views/spaces/__snapshots__/SpacePanel-test.tsx.snap @@ -7,13 +7,13 @@ exports[` should show all activated MetaSpaces in the correct orde class="mx_SpacePanel collapsed newUi" >
); @@ -119,7 +119,7 @@ export function UserMenuView({ vm, className }: UserMenuViewProps): JSX.Element // The menu should appear to the right of the avatar, over the displayname if the menu is expanded, // so the display name goes outside the menu block in a wrapper. return ( -
+