From 9a55d4efb54bca93ce7e1f4ba40b32101f5732a7 Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Fri, 14 Jan 2022 19:46:42 +0530 Subject: [PATCH] Fix: issue 2098, 2099 & 2192: Resolve text overflow issue (#2216) --- .../ui/src/components/UserList/UserList.tsx | 4 +++- .../resources/ui/src/pages/services/index.tsx | 5 +++-- .../resources/ui/src/pages/teams/UserCard.tsx | 17 +++++++++++++++-- .../main/resources/ui/src/pages/teams/index.tsx | 2 +- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/UserList/UserList.tsx b/openmetadata-ui/src/main/resources/ui/src/components/UserList/UserList.tsx index ad98b84b310..2bb6c9ef501 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/UserList/UserList.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/UserList/UserList.tsx @@ -249,7 +249,9 @@ const UserList: FunctionComponent = ({ className={`tw-group tw-text-grey-body tw-text-body tw-flex tw-justify-between ${getCurrentTeamClass( team.name )}`}> -

+

{team.displayName}

diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/services/index.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/services/index.tsx index 558bd870581..7ae1748dc79 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/services/index.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/services/index.tsx @@ -532,8 +532,9 @@ const ServicesPage = () => { )}> diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx index 4b80f54d0bd..814d90e1568 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx @@ -138,8 +138,21 @@ const UserCard = ({ <>{getDatasetTitle(item.name, item.description)} ) : ( <> -

{item.description}

-

{isIconVisible ? item.name : capitalize(item.name)}

+

+ {item.description} +

+

+ {isIconVisible ? item.name : capitalize(item.name)} +

)} diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/teams/index.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/teams/index.tsx index f219c946d31..5790f039735 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/teams/index.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/teams/index.tsx @@ -341,7 +341,7 @@ const TeamsPage = () => { changeCurrentTeam(team.name); }}>

{team.displayName}