diff --git a/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx b/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx index a31ceb6189e26..8efef4e8693e0 100644 --- a/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx +++ b/nx-dev/ui-markdoc/src/lib/tags/cards.component.tsx @@ -131,25 +131,29 @@ export function Card({ const hasYoutubeId = !!youtubeRegex ? youtubeRegex[1] : ''; return ( -
{!!hasYoutubeId && ( - Youtube Link +
+ Youtube Link +
)} -
- +
+ {!hasYoutubeId ? iconMap[type] : null} {title} - + {description ? ( -

{description}

+

{description}

) : null} {/*HOVER ICON*/} @@ -157,6 +161,6 @@ export function Card({
-
+ ); }