Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: account menu makeover when account name is larger #3173

Merged
merged 5 commits into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/components/AccountMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ function AccountMenu({ showOptions = true }: Props) {
{authAccount && (
<Menu.Item>
<div className="p-2 overflow-hidden">
<div className="flex flex-row items-center justify-between bg-amber-50 dark:bg-brand-yellow/50 border-brand-yellow border-l-4 p-2 rounded-lg">
<div className="flex flex-row items-center gap-2">
<div className="flex flex-row items-center justify-between gap-2 bg-amber-50 dark:bg-brand-yellow/50 border-brand-yellow border-l-4 p-2 rounded-lg">
<div className="flex flex-row items-center gap-2 overflow-hidden">
<div className="shrink-0">
<Avatar
size={24}
name={authAccount.id}
url={authAccount.avatarUrl}
/>
</div>
<div className="flex flex-col">
<div className="flex flex-col overflow-hidden">
<span className="overflow-hidden text-ellipsis whitespace-nowrap font-medium">
{authAccount.name}
</span>
Expand Down
Loading