Skip to content

Commit

Permalink
Merge pull request #3173 from getAlby/fix-makeover
Browse files Browse the repository at this point in the history
fix: account menu makeover when account name is larger
  • Loading branch information
pavanjoshi914 authored Jun 17, 2024
2 parents 0aa42ee + c6955c4 commit 5b0b35e
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 5b0b35e

Please sign in to comment.