Skip to content

Commit

Permalink
Fix #2835, #2836 Lineage entities overlap and Descriptions in Lineage…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
Sachin-chaurasiya committed Feb 19, 2022
1 parent 9fc3f89 commit 3eab339
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -227,7 +228,7 @@ const EntityInfoDrawer = ({
<span className="tw-text-grey-muted">Description</span>
<div>
{entityDetail.description?.trim() ? (
entityDetail.description
<RichTextEditorPreviewer markdown={entityDetail.description} />
) : (
<p className="tw-text-xs tw-text-grey-muted">
No description added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 3eab339

Please sign in to comment.