diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.component.tsx index feb291e7c471..1ced5649f42f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.component.tsx @@ -677,16 +677,16 @@ export const ColumnDetailPanel = ({ const renderOverviewTab = () => { if (isColumnDataLoading) { return ( -
+
); } return ( - + {isDescriptionLoading ? ( -
+
) : ( @@ -752,7 +752,7 @@ export const ColumnDetailPanel = ({ const renderLineageTab = () => { if (isLineageLoading) { return ( -
+
); @@ -760,7 +760,7 @@ export const ColumnDetailPanel = ({ if (!lineageData) { return ( -
+
{t('label.no-data-found')}
); @@ -782,7 +782,7 @@ export const ColumnDetailPanel = ({ } return ( -
+
({ const columnTitle = activeColumn ? (
-
+
{breadcrumbPath.length > 1 && breadcrumbPath.map((breadcrumb, index) => { const isLastItem = index === breadcrumbPath.length - 1; return (
-
+
({ {index < breadcrumbPath.length - 1 && ( @@ -839,14 +843,16 @@ export const ColumnDetailPanel = ({ ); })}
-
-
-
-
+
+
+
+
-
-
+
+
({ (entityType === EntityType.TABLE || entityType === EntityType.DASHBOARD_DATA_MODEL) && ( {stringToHTML(activeColumn.name || '')} @@ -900,7 +906,7 @@ export const ColumnDetailPanel = ({ )}
-
+
-
+
{isColumn(activeColumn) && getDataTypeDisplay(activeColumn) && ( -
+
{getDataTypeDisplay(activeColumn) || ''}
@@ -947,20 +956,14 @@ export const ColumnDetailPanel = ({ /> ); case EntityRightPanelTab.LINEAGE: - return
{renderLineageTab()}
; + return
{renderLineageTab()}
; case EntityRightPanelTab.CUSTOM_PROPERTIES: - return ( -
- {renderCustomPropertiesTab()} -
- ); + return
{renderCustomPropertiesTab()}
; case EntityRightPanelTab.RELATIONS: return null; case EntityRightPanelTab.OVERVIEW: default: - return ( -
{renderOverviewTab()}
- ); + return
{renderOverviewTab()}
; } }; @@ -969,8 +972,8 @@ export const ColumnDetailPanel = ({ } const navFooter = ( -
-
+
+
)}
-
+
- + {renderTabContent()} -
+
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.less b/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.less index 7fd131b3a55c..1a394762aa16 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/Database/ColumnDetailPanel/ColumnDetailPanel.less @@ -63,6 +63,14 @@ .ant-drawer-header-title { width: 100%; + min-width: 0; + overflow: hidden; + } + + .ant-drawer-title { + width: 100%; + min-width: 0; + overflow: hidden; } } @@ -73,6 +81,9 @@ .title-section { padding-bottom: 0; + width: 100%; + min-width: 0; + overflow: hidden; .data-type-chip { width: fit-content; border: 1px solid @blue-30; @@ -90,6 +101,7 @@ padding: 16px 12px; padding-top: 8px; border-radius: 6px; + overflow: hidden; background-color: @grey-9; @@ -98,8 +110,31 @@ font-weight: 600; color: @grey-900; text-decoration: none; + min-width: 0; + flex: 1; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + max-width: 95%; } } + + .title-row { + min-width: 0; + overflow: hidden; + } + + .title-text-column { + min-width: 0; + flex: 1; + overflow: hidden; + } + + .title-name-row { + min-width: 0; + overflow: hidden; + } } .column-detail-panel-container { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/CustomControls.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/CustomControls.component.tsx index 22599ae40d80..d515512d2b65 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/CustomControls.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/CustomControls.component.tsx @@ -426,7 +426,7 @@ const CustomControls: FC<{ handleTabChange(key as string)}> - + {t('label.lineage')} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/EntityTitleSection/EntityTitleSection.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/EntityTitleSection/EntityTitleSection.tsx index ad0b306d24a7..4fb0fab60c7b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/common/EntityTitleSection/EntityTitleSection.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/common/EntityTitleSection/EntityTitleSection.tsx @@ -138,7 +138,7 @@ export const EntityTitleSection = ({ placement={tooltipPlacement} title={getTextFromHtmlString(entityName)} trigger="hover"> - + = ({ return ( {({ close }) => ( <> diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagFormDrawer.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagFormDrawer.tsx index d91d9e67aee6..bd06989465d9 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagFormDrawer.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagFormDrawer.tsx @@ -47,8 +47,10 @@ const TagFormDrawer: FC = ({ return ( {({ close }) => ( <> diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagsPage.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagsPage.tsx index 6196ce6d018f..87a27e7bb14b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagsPage.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/TagsPage/TagsPage.tsx @@ -693,6 +693,7 @@ const TagsPage = () => { key={category.name} onClick={() => onClickClassifications(category)}>