Skip to content

Commit

Permalink
remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
KhudaDad414 committed Oct 10, 2023
1 parent 0cc7e68 commit 06c9a4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/ui/components/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ export const AppCard = ({isActive = false, name, description, badges, className,
<div className="flex flex-col gap-2 px-5 py-3">
<h3 className="text-base font-medium text-gray-100">{name}</h3>
<div className='flex gap-1'>
{isClient && <ServiceInfoBadge info='client' className='mr-2'/>}
{isServer && <ServiceInfoBadge info='server' className='mr-2'/>}
{ (isClient || isServer) &&
<div className='mr-2 flex gap-1'>
{isClient && <ServiceInfoBadge info='client'/>}
{isServer && <ServiceInfoBadge info='server'/>}
</div>
}
{badges.map((badge, index) => (<ServiceInfoBadge info={badge} key={index} />))}
</div>
</div>
Expand Down

0 comments on commit 06c9a4f

Please sign in to comment.