Skip to content

Commit

Permalink
fix: use flex column-gap instead of margins in buttons element (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyzyl-ool authored Nov 17, 2023
1 parent 963e29b commit c9fa48a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/sub-blocks/Content/Content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,10 @@ $darkSecondary: var(--g-color-text-dark-secondary);
}
}

&__button {
@include add-specificity(&) {
margin-top: 0;
margin-right: $indentXXS;

&:last-child {
margin-right: 0;
}
}
&__buttons {
display: flex;
flex-wrap: wrap;
column-gap: $indentXXS;
}

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

#{$block}__buttons {
justify-content: center;
}

#{$block}__links {
align-items: center;
}
Expand Down

0 comments on commit c9fa48a

Please sign in to comment.