Skip to content

Commit 50590f2

Browse files
authored
fix: handle margins for centered links and buttons in Content (#223)
1 parent d494523 commit 50590f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/sub-blocks/Content/Content.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ $darkSecondary: var(--yc-color-text-dark-secondary);
4747
@include add-specificity(&) {
4848
margin-top: 0;
4949
margin-right: $indentXXS;
50+
51+
&:last-child {
52+
margin-right: 0;
53+
}
5054
}
5155
}
5256

@@ -59,6 +63,10 @@ $darkSecondary: var(--yc-color-text-dark-secondary);
5963
&__link {
6064
display: block;
6165
margin-right: $indentM;
66+
67+
&:last-child {
68+
margin-right: 0;
69+
}
6270
}
6371

6472
&_centered {

0 commit comments

Comments
 (0)