This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 3095d7b07ff fix(metadata-bar): add max-width to text for proper 
ellipsis truncation (#42237)
3095d7b07ff is described below

commit 3095d7b07ffe431708b12c74d81c6e2e8742ab10
Author: PRATHAMESH HUKKERI <[email protected]>
AuthorDate: Tue Jul 28 09:08:29 2026 +0530

    fix(metadata-bar): add max-width to text for proper ellipsis truncation 
(#42237)
    
    Co-authored-by: Prathamesh Hukkeri <[email protected]>
---
 .../packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
 
b/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
index 85f36163e81..b09e857974a 100644
--- 
a/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
+++ 
b/superset-frontend/packages/superset-ui-core/src/components/MetadataBar/MetadataBar.tsx
@@ -89,6 +89,7 @@ const StyledItem = styled.div<{
     & .metadata-text {
       color: ${theme.colorTextSecondary};
       min-width: ${TEXT_MIN_WIDTH}px;
+      max-width: ${TEXT_MAX_WIDTH}px;
       overflow: hidden;
       text-overflow: ${collapsed ? 'unset' : 'ellipsis'};
       white-space: nowrap;

Reply via email to