truncate account name in summary

This commit is contained in:
saml33 2022-10-08 19:53:47 +11:00
parent 040c1a0a67
commit 18bc7921a0
1 changed files with 3 additions and 3 deletions

View File

@ -152,9 +152,9 @@ const SideNav = ({ collapsed }: { collapsed: boolean }) => {
/>
}
title={
<div className="text-left">
<div className="w-24 text-left">
<p className="mb-0.5 whitespace-nowrap text-xs">Health Check</p>
<p className="whitespace-nowrap text-sm font-bold text-th-fgd-1">
<p className="truncate whitespace-nowrap text-sm font-bold text-th-fgd-1">
{mangoAccount
? mangoAccount.name
: connected
@ -350,7 +350,7 @@ export const ExpandableMenuItem = ({
leaveFrom="opacity-100"
leaveTo="opacity-0"
>
<span className="ml-3 lg:text-base">{title}</span>
<span className="ml-3 truncate lg:text-base">{title}</span>
</Transition>
</div>
<ChevronDownIcon