diff --git a/openmetadata-ui/src/main/resources/ui/src/components/SchemaTable/SchemaTable.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/SchemaTable/SchemaTable.component.tsx index be1cf9ac710..371753c32dd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/SchemaTable/SchemaTable.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/SchemaTable/SchemaTable.component.tsx @@ -12,7 +12,7 @@ */ import Icon, { FilterOutlined } from '@ant-design/icons'; -import { Space, Table, Tooltip, Typography } from 'antd'; +import { Table, Tooltip, Typography } from 'antd'; import { ColumnsType } from 'antd/lib/table'; import { ExpandableConfig } from 'antd/lib/table/interface'; import { ReactComponent as IconEdit } from 'assets/svg/edit-new.svg'; @@ -355,41 +355,36 @@ const SchemaTable = ({ const { displayName } = record; return ( - - +
+
{prepareConstraintIcon({ columnName: name, columnConstraint: record.constraint, tableConstraints, })} -
- {/* If we do not have displayName name only be shown in the bold from the below code */} - {!isEmpty(displayName) ? ( - - {name} - - ) : null} - - {/* It will render displayName fallback to name */} + {/* If we do not have displayName name only be shown in the bold from the below code */} + {!isEmpty(displayName) ? ( - {getEntityName(record)} + className="m-b-0 d-block text-grey-muted" + data-testid="column-name"> + {name} -
- + ) : null} + + {/* It will render displayName fallback to name */} + + {getEntityName(record)} + +
handleEditDisplayNameClick(record)} /> - +
); }, }, diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/FrequentlyJoinedTables.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/FrequentlyJoinedTables.component.tsx index eeae468f9df..b786b4f8835 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/FrequentlyJoinedTables.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/FrequentlyJoinedTables.component.tsx @@ -33,9 +33,9 @@ export const FrequentlyJoinedTables = ({ const { t } = useTranslation(); return ( - + - + {t('label.frequently-joined-table-plural')} diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/frequently-joined-tables.style.less b/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/frequently-joined-tables.style.less index adbbc2f9a27..8e50bd05463 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/frequently-joined-tables.style.less +++ b/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/FrequentlyJoinedTables/frequently-joined-tables.style.less @@ -17,8 +17,6 @@ overflow-y: scroll; .frequently-joint-data { - padding: 12px; - .frequently-joint-name { font-weight: 300; }