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:
parent
c3215cb7a9
commit
592a1a7488
@ -1,7 +1,7 @@
|
|||||||
.PodDetailsSecrets {
|
.PodDetailsSecrets {
|
||||||
a {
|
> * {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: $margin;
|
margin-bottom: var(--margin);
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|||||||
@ -40,9 +40,7 @@ export class PodDetailsSecrets extends Component<Props> {
|
|||||||
return this.renderSecretLink(secret);
|
return this.renderSecretLink(secret);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<>
|
<span>{secretName}</span>
|
||||||
{secretName}
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user