mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 06:28:22 +00:00
fix(ui): explore tabs with elipsis to render label and count properly (#21663)
This commit is contained in:
parent
53817c2182
commit
cb57656ae9
@ -32,6 +32,13 @@
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.explore-tab-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.explore-left-panel {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
@ -470,12 +470,13 @@ export const generateTabItems = (
|
||||
<div
|
||||
className="d-flex items-center justify-between"
|
||||
data-testid={`${lowerCase(tabDetail.label)}-tab`}>
|
||||
<div className="d-flex items-center">
|
||||
<div className="explore-tab-label">
|
||||
<span className="explore-icon d-flex m-r-xs">
|
||||
<Icon />
|
||||
</span>
|
||||
<Typography.Text
|
||||
className={tabSearchIndex === searchIndex ? 'text-primary' : ''}>
|
||||
className={tabSearchIndex === searchIndex ? 'text-primary' : ''}
|
||||
ellipsis={{ tooltip: true }}>
|
||||
{tabDetail.label}
|
||||
</Typography.Text>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user