Preserving layout when amount of secrets passed

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

No files matched your search

@@ -1,7 +1,7 @@
.PodDetailsSecrets {
a {
> * {
display: block;
margin-bottom: $margin;
margin-bottom: var(--margin);
&:last-child {
margin-bottom: 0;
@@ -40,9 +40,7 @@ export class PodDetailsSecrets extends Component<Props> {
return this.renderSecretLink(secret);
} else {
return (
<>
{secretName}
</>
<span>{secretName}</span>
);
}
})