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

Fix PodList TableHead overflow (#7212)

* Remove transparent bg on .flat TableHead

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix TableHeads not to be sticky

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

---------

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-02-22 15:28:36 +03:00 committed by GitHub
parent b5e2deffc2
commit 4e02bdce6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -78,7 +78,7 @@ class NonInjectedDeploymentReplicaSets extends React.Component<DeploymentReplica
sortSyncWithUrl={false} sortSyncWithUrl={false}
className="box grow" className="box grow"
> >
<TableHead flat> <TableHead flat sticky={false}>
<TableCell className="name" sortBy={sortBy.name}>Name</TableCell> <TableCell className="name" sortBy={sortBy.name}>Name</TableCell>
<TableCell className="warning"/> <TableCell className="warning"/>
<TableCell className="namespace" sortBy={sortBy.namespace}>Namespace</TableCell> <TableCell className="namespace" sortBy={sortBy.namespace}>Namespace</TableCell>

View File

@ -190,7 +190,7 @@ class NonInjectedPodDetailsList extends React.Component<PodDetailsListProps & De
)} )}
className="box grow" className="box grow"
> >
<TableHead flat> <TableHead flat sticky={virtual}>
<TableCell className="name" sortBy={sortBy.name}>Name</TableCell> <TableCell className="name" sortBy={sortBy.name}>Name</TableCell>
<TableCell className="warning"/> <TableCell className="warning"/>
<TableCell className="node" sortBy={sortBy.node}>Node</TableCell> <TableCell className="node" sortBy={sortBy.node}>Node</TableCell>

View File

@ -38,7 +38,6 @@
} }
&.flat { &.flat {
background-color: transparent;
font-weight: 600; font-weight: 600;
} }
} }