update cluster.css

This commit is contained in:
madrilene 2023-10-31 13:27:33 +01:00
parent d690fa7e7a
commit 7204a46194

View file

@ -1,11 +1,7 @@
.cluster > * {
.cluster {
display: flex;
flex-wrap: wrap;
/* ↓ multiply by -1 to negate the halved value */
margin: calc(var(--space-s-l) / 2 * -1);
}
.cluster > * > * {
/* ↓ half the value, because of the 'doubling up' */
margin: calc(var(--space-s-l) / 2);
gap: var(--space, 1rem);
justify-content: flex-start;
align-items: center;
}