1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Setting few more column sizes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-08-25 12:40:35 +03:00
parent 20f63a023b
commit b16d6520bc
3 changed files with 8 additions and 3 deletions

View File

@ -184,6 +184,7 @@ class NonInjectedPods extends React.Component<Dependencies> {
id: "name", id: "name",
header: "Name", header: "Name",
cell: info => info.getValue(), cell: info => info.getValue(),
size: 130,
}), }),
columnHelper.display({ columnHelper.display({
id: "warning", id: "warning",
@ -195,14 +196,15 @@ class NonInjectedPods extends React.Component<Dependencies> {
id: "namespace", id: "namespace",
header: "Namespace", header: "Namespace",
cell: info => info.getValue(), cell: info => info.getValue(),
minSize: 110, minSize: 100,
size: 110, size: 100,
}), }),
columnHelper.accessor(row => this.renderContainersStatus(row), { columnHelper.accessor(row => this.renderContainersStatus(row), {
id: "containers", id: "containers",
header: "Containers", header: "Containers",
cell: info => info.getValue(), cell: info => info.getValue(),
minSize: 137, size: 100,
minSize: 100,
}), }),
columnHelper.accessor(row => row.getRestartsCount(), { columnHelper.accessor(row => row.getRestartsCount(), {
id: "restarts", id: "restarts",

View File

@ -62,6 +62,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
display: flex; display: flex;
gap: 8px;
padding: 0 calc(var(--padding) * 2); padding: 0 calc(var(--padding) * 2);
&:hover { &:hover {
@ -70,6 +71,7 @@
> div { > div {
padding: 4px 0; padding: 4px 0;
word-break: break-all;
} }
} }
} }

View File

@ -3,6 +3,7 @@
tr { tr {
display: flex; display: flex;
gap: 8px;
padding: 0 16px; padding: 0 16px;
} }