1
0
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:
Alex Andreev 2023-03-17 13:33:33 +03:00
parent 1a6b11525d
commit 8c844518ba
2 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,10 @@
opacity: 1;
}
:global(.TableCell) {
padding: 6px 8px;
}
flex-grow: 1;
}

View File

@ -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"}`}
/>
);