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

Preserving layout when amount of secrets passed

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-03-01 16:13:01 +03:00
parent c3215cb7a9
commit 592a1a7488
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
.PodDetailsSecrets {
a {
> * {
display: block;
margin-bottom: $margin;
margin-bottom: var(--margin);
&:last-child {
margin-bottom: 0;

View File

@ -40,9 +40,7 @@ export class PodDetailsSecrets extends Component<Props> {
return this.renderSecretLink(secret);
} else {
return (
<>
{secretName}
</>
<span>{secretName}</span>
);
}
})