From cf36e4d44e95302de351c24469982b8a452f38ab Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Mon, 13 Jan 2025 15:37:46 +0530 Subject: [PATCH 1/2] fix the glossary description column width on term page --- .../Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx index eb7d4538229b..eb458679bf48 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx @@ -184,7 +184,7 @@ const GlossaryTermTab = ({ title: t('label.description'), dataIndex: 'description', key: 'description', - width: 250, + width: isGlossary ? 250 : 800, render: (description: string) => description.trim() ? ( From 5b7944a22c2a866795b83dfb4b0c4c64b98eee4b Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Mon, 13 Jan 2025 17:34:21 +0530 Subject: [PATCH 2/2] decrease the width so for smaller screen, other column should not overflow --- .../Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx index eb458679bf48..f45e2b3fdd18 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx @@ -184,7 +184,7 @@ const GlossaryTermTab = ({ title: t('label.description'), dataIndex: 'description', key: 'description', - width: isGlossary ? 250 : 800, + width: isGlossary ? 250 : 650, render: (description: string) => description.trim() ? (