From fd4670e40adfd434d7c416f2de899af72d017ecb Mon Sep 17 00:00:00 2001 From: Shea Date: Thu, 9 Jul 2026 09:46:42 +0300 Subject: [PATCH] fix some visual issues Signed-off-by: Shea --- .changeset/fix_gradient_thingies.md | 5 ++ src/app/components/user-profile/UserHero.tsx | 1 - src/app/features/room/RoomInput.tsx | 2 + src/app/pages/client/profile/Profile.tsx | 4 +- src/app/pages/client/sidebar/UserMenuTab.tsx | 78 +++++++++++--------- 5 files changed, 54 insertions(+), 36 deletions(-) create mode 100644 .changeset/fix_gradient_thingies.md diff --git a/.changeset/fix_gradient_thingies.md b/.changeset/fix_gradient_thingies.md new file mode 100644 index 000000000..c4912dcca --- /dev/null +++ b/.changeset/fix_gradient_thingies.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Fix very small little visual issues you probably didnt even notice 🙏 diff --git a/src/app/components/user-profile/UserHero.tsx b/src/app/components/user-profile/UserHero.tsx index 3e14b49d9..622315d3d 100644 --- a/src/app/components/user-profile/UserHero.tsx +++ b/src/app/components/user-profile/UserHero.tsx @@ -242,7 +242,6 @@ export function UserHero({ WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden', - fontStyle: allowEditing && !status ? 'italic' : 'normal', opacity: allowEditing && !status ? config.opacity.Placeholder : 1, }} truncate={allowEditing} diff --git a/src/app/features/room/RoomInput.tsx b/src/app/features/room/RoomInput.tsx index f6c17af88..08616583c 100644 --- a/src/app/features/room/RoomInput.tsx +++ b/src/app/features/room/RoomInput.tsx @@ -1592,6 +1592,7 @@ export const RoomInput = forwardRef( } }} variant="SurfaceVariant" + style={{ background: 'transparent' }} size="300" radii="300" aria-label="Cancel reply" @@ -1622,6 +1623,7 @@ export const RoomInput = forwardRef( variant="SurfaceVariant" size="300" radii="300" + style={{ background: 'transparent' }} title={ silentReply ? 'Unmute reply notifications' : 'Mute reply notifications' } diff --git a/src/app/pages/client/profile/Profile.tsx b/src/app/pages/client/profile/Profile.tsx index 300afc1ff..5f58d994d 100644 --- a/src/app/pages/client/profile/Profile.tsx +++ b/src/app/pages/client/profile/Profile.tsx @@ -136,7 +136,7 @@ export function ProfileMobile() { gap="0" alignItems="Center" justifyContent="SpaceBetween" - style={{ width: '100%', minWidth: '100%' }} + style={{ width: '100%', minWidth: '100%', height: '100vh' }} > @@ -265,7 +265,7 @@ export function ProfileMobile() { )} -
+
diff --git a/src/app/pages/client/sidebar/UserMenuTab.tsx b/src/app/pages/client/sidebar/UserMenuTab.tsx index 72e66f482..717aada88 100644 --- a/src/app/pages/client/sidebar/UserMenuTab.tsx +++ b/src/app/pages/client/sidebar/UserMenuTab.tsx @@ -11,6 +11,9 @@ import { Line, Menu, MenuItem, + Overlay, + OverlayBackdrop, + OverlayCenter, PopOut, Spinner, Text, @@ -27,7 +30,6 @@ import { nameInitials } from '../../../utils/common'; import { useMediaAuthentication } from '../../../hooks/useMediaAuthentication'; import { useOpenSettings } from '../../../features/settings'; import { useUserProfile } from '../../../hooks/useUserProfile'; -import { Modal500 } from '../../../components/Modal500'; import { stopPropagation } from '../../../utils/keyboard'; import { useUserPresence, Presence } from '../../../hooks/useUserPresence'; import { UserHero, GlobalUserHeroName } from '../../../components/user-profile/UserHero'; @@ -359,41 +361,51 @@ export function AccountMenuOption({ isMobile, isRight }: { isMobile: boolean; is
)} {confirmSignOutSession && ( - setConfirmSignOutSession(undefined)}> - -
}> + + setConfirmSignOutSession(undefined), + clickOutsideDeactivates: true, }} - variant="Surface" - size="500" > - - Sign out - -
- - - Are you sure you want to sign out of {confirmSignOutSession.userId}? - - - - - - -
-
+ + Sign out + + + + + Are you sure you want to sign out of {confirmSignOutSession.userId}? + + + + + + + + + + )} ); @@ -760,7 +772,7 @@ export function UserMenuTab({ isBottom, isMobile }: { isBottom?: boolean; isMobi showColor={false} allowEditing={true} /> - +