diff --git a/components/PublicGrid.tsx b/components/PublicGrid.tsx index 3f07362..bdc979f 100644 --- a/components/PublicGrid.tsx +++ b/components/PublicGrid.tsx @@ -517,15 +517,21 @@ export default function PublicGrid({ cards, maxCols = 5 }: { cards: Card[], maxC title="Close" >✕ -
-
{activeCard.cardType.replace('_', ' ')}
-

{activeCard.title}

- {activeCard.fullContent ? ( -
- ) : ( -

{activeCard.shortDescription}

- )} -
+ {(activeCard.title || activeCard.shortDescription || activeCard.fullContent) && ( +
+
{activeCard.cardType.replace('_', ' ')}
+ {activeCard.title && ( +

+ {activeCard.title} +

+ )} + {activeCard.fullContent ? ( +
+ ) : activeCard.shortDescription ? ( +

{activeCard.shortDescription}

+ ) : null} +
+ )}
)}