From 004b7b8a6409cb35b690f67c16a2e63cbe9894a9 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 6 Dec 2023 16:15:05 +0700 Subject: [PATCH] bug: fix tag description showing a title and fix card right panel --- web/containers/CardSidebar/index.tsx | 11 +++++++---- web/screens/ExploreModels/ExploreModelItem/index.tsx | 7 ++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/web/containers/CardSidebar/index.tsx b/web/containers/CardSidebar/index.tsx index c260333673..8b0fd10587 100644 --- a/web/containers/CardSidebar/index.tsx +++ b/web/containers/CardSidebar/index.tsx @@ -32,13 +32,12 @@ export default function CardSidebar({ return (
@@ -93,7 +92,11 @@ export default function CardSidebar({
)}
- {show &&
{children}
} + {show && ( +
+ {children} +
+ )} ) } diff --git a/web/screens/ExploreModels/ExploreModelItem/index.tsx b/web/screens/ExploreModels/ExploreModelItem/index.tsx index c3bcdd9679..553c73a496 100644 --- a/web/screens/ExploreModels/ExploreModelItem/index.tsx +++ b/web/screens/ExploreModels/ExploreModelItem/index.tsx @@ -62,7 +62,12 @@ const ExploreModelItem = forwardRef(({ model }, ref) => {
{model.metadata.tags.map((tag, i) => ( - + {tag} ))}