Skip to content

Commit c9fa48a

Browse files
authored
fix: use flex column-gap instead of margins in buttons element (#701)
1 parent 963e29b commit c9fa48a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/sub-blocks/Content/Content.scss

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,10 @@ $darkSecondary: var(--g-color-text-dark-secondary);
4343
}
4444
}
4545

46-
&__button {
47-
@include add-specificity(&) {
48-
margin-top: 0;
49-
margin-right: $indentXXS;
50-
51-
&:last-child {
52-
margin-right: 0;
53-
}
54-
}
46+
&__buttons {
47+
display: flex;
48+
flex-wrap: wrap;
49+
column-gap: $indentXXS;
5550
}
5651

5752
&__links {
@@ -70,6 +65,10 @@ $darkSecondary: var(--g-color-text-dark-secondary);
7065
text-align: center;
7166
}
7267

68+
#{$block}__buttons {
69+
justify-content: center;
70+
}
71+
7372
#{$block}__links {
7473
align-items: center;
7574
}

0 commit comments

Comments
 (0)