Fix the width of profile menu

This commit is contained in:
jahooma 2022-01-27 17:12:18 -06:00
parent 649c6f4642
commit 0cc108e1ac

View File

@ -85,7 +85,7 @@ function ProfileSummary(props: { user: User | undefined }) {
<AvatarPlaceholder />
)}
</div>
<div className="truncate text-left" style={{ maxWidth: 170 }}>
<div className="truncate text-left" style={{ width: 170 }}>
<div className="hidden sm:flex">{user?.name}</div>
<div className="text-gray-700 text-sm">
{user ? formatMoney(Math.floor(user.balance)) : ' '}