update cluster.css
This commit is contained in:
parent
d690fa7e7a
commit
7204a46194
1 changed files with 4 additions and 8 deletions
|
|
@ -1,11 +1,7 @@
|
||||||
.cluster > * {
|
.cluster {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
/* ↓ multiply by -1 to negate the halved value */
|
gap: var(--space, 1rem);
|
||||||
margin: calc(var(--space-s-l) / 2 * -1);
|
justify-content: flex-start;
|
||||||
}
|
align-items: center;
|
||||||
|
|
||||||
.cluster > * > * {
|
|
||||||
/* ↓ half the value, because of the 'doubling up' */
|
|
||||||
margin: calc(var(--space-s-l) / 2);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue