From 3eab339c0eb606d05226a05405bc848db25f3ffe Mon Sep 17 00:00:00 2001 From: Sachin Chaurasiya Date: Sat, 19 Feb 2022 13:45:21 +0530 Subject: [PATCH] Fix #2835, #2836 Lineage entities overlap and Descriptions in Lineage view do not have formatting. (#2840) * Fix #2835, #2836 Lineage entities overlap and Descriptions in Lineage view do not have formatting. * Minor change * Changing nodeWidth --- .../EntityInfoDrawer/EntityInfoDrawer.component.tsx | 3 ++- .../src/main/resources/ui/src/constants/constants.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.component.tsx index ab3319ce535..e35ae24b624 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/EntityInfoDrawer/EntityInfoDrawer.component.tsx @@ -28,6 +28,7 @@ import useToastContext from '../../hooks/useToastContext'; import { getHeaderLabel } from '../../utils/EntityLineageUtils'; import { getEntityOverview, getEntityTags } from '../../utils/EntityUtils'; import { getEntityIcon } from '../../utils/TableUtils'; +import RichTextEditorPreviewer from '../common/rich-text-editor/RichTextEditorPreviewer'; import { SelectedNode } from '../EntityLineage/EntityLineage.interface'; import Loader from '../Loader/Loader'; import Tags from '../tags/tags'; @@ -227,7 +228,7 @@ const EntityInfoDrawer = ({ Description
{entityDetail.description?.trim() ? ( - entityDetail.description + ) : (

No description added diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts b/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts index ff908c65205..ccc780806e5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts @@ -304,5 +304,5 @@ export const TITLE_FOR_NON_ADMIN_ACTION = export const positionX = 150; export const positionY = 60; -export const nodeWidth = 172; -export const nodeHeight = 36; +export const nodeWidth = 240; +export const nodeHeight = 40;