Skip to content

Commit

Permalink
Merge branch 'side-nav-styling' of https://github.com/ohcnetwork/care_fe
Browse files Browse the repository at this point in the history
 into side-nav-styling
  • Loading branch information
nihal467 committed Oct 16, 2024
2 parents 5ab1e75 + 82966c3 commit 827a682
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/Components/Common/Sidebar/SidebarUserCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ const SidebarUserCard: React.FC<SidebarUserCardProps> = ({ shrinked }) => {
className="w-8 text-sm font-medium"
/>
</div>
{!shrinked && (
<span className="flex w-full grow items-center pl-1 text-xs font-medium tracking-wide">
{formatName(user)}
</span>
)}
<div className="max-w-32">
{!shrinked && (
<p className="truncate pl-1 text-xs font-medium tracking-wide">
{formatName(user)}
</p>
)}
</div>
</div>
<div className="flex shrink-0 items-center justify-center rounded-full bg-gray-300/50">
<CareIcon
Expand Down

0 comments on commit 827a682

Please sign in to comment.