diff --git a/app/components/BuildCard.tsx b/app/components/BuildCard.tsx index 8b7d96a17..f73c8a16b 100644 --- a/app/components/BuildCard.tsx +++ b/app/components/BuildCard.tsx @@ -71,19 +71,6 @@ export function BuildCard({ build, owner, canEdit = false }: BuildProps) {

{title}

- {modes && modes.length > 0 && ( -
- {modes.map((mode) => ( - - ))} -
- )}
{owner && ( @@ -154,14 +141,27 @@ export function BuildCard({ build, owner, canEdit = false }: BuildProps) { path={navIconUrl("analyzer")} /> - {description && ( + {description || (modes && modes.length > 0) ? ( } triggerClassName="minimal tiny build__small-text" > + {modes && modes.length > 0 && ( +
+ {modes.map((mode) => ( + + ))} +
+ )} {description}
- )} + ) : null} {canEdit && ( <>