From f27929eb9b8796c6e034846138a927415cd90009 Mon Sep 17 00:00:00 2001 From: Lorg0n Date: Sat, 14 Sep 2024 23:18:54 +0300 Subject: [PATCH] style: add flex-1 tag to user-tooltip for stats like in UI design --- src/components/content-card/user-tooltip.tsx | 46 ++++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/src/components/content-card/user-tooltip.tsx b/src/components/content-card/user-tooltip.tsx index a261d9c1..fae4a9f2 100644 --- a/src/components/content-card/user-tooltip.tsx +++ b/src/components/content-card/user-tooltip.tsx @@ -103,26 +103,26 @@ const TooltipData: FC = ({ username }) => { {(user?.role === 'admin' || user?.role === 'moderator') && ( - - -
- {user.role === 'admin' && ( - - )} - {user.role === 'moderator' && ( - - )} -
-
- -

- {user.role === 'admin' - ? 'Адміністратор' - : 'Модератор'} -

-
-
- )} + + +
+ {user.role === 'admin' && ( + + )} + {user.role === 'moderator' && ( + + )} +
+
+ +

+ {user.role === 'admin' + ? 'Адміністратор' + : 'Модератор'} +

+
+
+ )} = ({ username }) => {
-
+
{watchStats?.completed}
-
+
{mangaStats?.completed}
-
+
{novelStats?.completed}