mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix catalog list table view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
1a6b11525d
commit
8c844518ba
2 files changed
+7
No files matched your search
@@ -8,6 +8,10 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:global(.TableCell) {
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -306,6 +306,9 @@ class NonInjectedCatalog extends React.Component<Dependencies> {
|
||||
{...getCategoryColumns({ activeCategory })}
|
||||
onDetails={this.props.onCatalogEntityListClick}
|
||||
renderItemMenu={this.renderItemMenu}
|
||||
tableProps={{
|
||||
customRowHeights: () => 36, // Entity avatar size + padding
|
||||
}}
|
||||
data-testid={`catalog-list-for-${activeCategory?.metadata.name ?? "browse-all"}`}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user