From 0e85cb6aadf57264e5cac599320a9da1ccf80934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Colin?= Date: Thu, 8 Feb 2024 14:27:36 +0100 Subject: [PATCH] add max size to text in cards objects --- app/src/components/AppCard.tsx | 72 +++++++++++++++++----------------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/app/src/components/AppCard.tsx b/app/src/components/AppCard.tsx index e22c52566..b80f165bc 100644 --- a/app/src/components/AppCard.tsx +++ b/app/src/components/AppCard.tsx @@ -22,44 +22,46 @@ const AppCard: React.FC = ({ selected }) => { return ( - - + - - - -

{title}

- {description} -
- - - -
- {( - + + + +

{title}

+ {description} +
+ + + +
+ {( + - {background && } - - )} -
-
+ > + {background && } + + )} + + + ); }