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;
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue