From 0fa8dbff9052cae1ff9a8ef70cdf129d398a7cfc Mon Sep 17 00:00:00 2001 From: niki <295591807+nikiwastaken@users.noreply.github.com> Date: Sat, 18 Jul 2026 15:25:11 +0000 Subject: [PATCH] Fix account page UI --- src/app/pages/client/profile/Profile.tsx | 7 ++++--- src/app/pages/client/sidebar/UserMenuTab.tsx | 18 ++++++++---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/app/pages/client/profile/Profile.tsx b/src/app/pages/client/profile/Profile.tsx index 30be9a695..57aa3f806 100644 --- a/src/app/pages/client/profile/Profile.tsx +++ b/src/app/pages/client/profile/Profile.tsx @@ -138,7 +138,7 @@ export function ProfileMobile() { gap="0" alignItems="Center" justifyContent="SpaceBetween" - style={{ width: '100%', minWidth: '100%', height: '100vh' }} + style={{ width: '100%', minWidth: '100%', background: color.Background.Container }} > @@ -198,12 +198,13 @@ export function ProfileMobile() { - + {isSettingsOpen && ( - + {menuItems.map((item) => { const IconComponent = item.icon; diff --git a/src/app/pages/client/sidebar/UserMenuTab.tsx b/src/app/pages/client/sidebar/UserMenuTab.tsx index e561fd096..56a4a52d0 100644 --- a/src/app/pages/client/sidebar/UserMenuTab.tsx +++ b/src/app/pages/client/sidebar/UserMenuTab.tsx @@ -274,11 +274,10 @@ export function AccountMenuOption({ isMobile, isRight }: { isMobile: boolean; is after={isOpen && isMobile ? menuIcon(CaretDownIcon) : menuIcon(CaretRightIcon)} style={{ position: 'relative', - background: isMobile - ? color.Background.Container - : isOpen - ? color.Secondary.Container - : color.Surface.Container, + background: isOpen + ? (isMobile ? color.Surface.Container + : color.Secondary.Container) + : color.Background.Container, }} onClick={() => isMobile && setIsOpen(!isOpen)} {...hoverProps} @@ -498,11 +497,10 @@ export function PresenceMenuOption({ after={isOpen && isMobile ? menuIcon(CaretDownIcon) : menuIcon(CaretRightIcon)} style={{ position: 'relative', - background: isMobile - ? color.Background.Container - : isOpen - ? color.Secondary.Container - : color.Surface.Container, + background: isOpen + ? (isMobile ? color.Surface.Container + : color.Secondary.Container) + : color.Background.Container, }} onClick={() => isMobile && setIsOpen(!isOpen)} {...hoverProps}