fix: allow tags to wrap

This commit is contained in:
Aarnav Tale 2025-04-22 09:36:14 -04:00
parent a6077a4ce2
commit 155823fe69
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export default function Chip({
return (
<span
className={cn(
'h-5 text-xs py-0.5 px-1 rounded-md',
'h-5 text-xs py-0.5 px-1 rounded-md text-nowrap',
'text-headplane-700 dark:text-headplane-100',
'bg-headplane-100 dark:bg-headplane-700',
'inline-flex items-center gap-x-1',

View File

@ -64,7 +64,7 @@ export default function MachineRow({
{node.givenName}
</p>
<p className="text-sm opacity-50">{node.user.name}</p>
<div className="flex gap-1 mt-1.5">
<div className="flex gap-1 flex-wrap mt-1.5">
{mapTagsToComponents(node, uiTags)}
{node.validTags.map((tag) => (
<Chip key={tag} text={tag} />