Skip to content

Commit a6a50de

Browse files
committed
Adjust spacing
1 parent 53b637b commit a6a50de

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/forms/radio-group.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66

77
.radio-label {
88
float: left;
9-
padding: $spacer-2 10px $spacer-2 35px;
9+
// stylelint-disable-next-line primer/spacing
10+
padding: 6px $spacer-3 6px ($spacer-3 + 12px + $spacer-2); // 12px is the size of the radio-input
1011
// stylelint-disable-next-line primer/spacing
1112
margin-left: -1px;
13+
font-size: $body-font-size;
14+
// stylelint-disable-next-line primer/typography
15+
line-height: 20px; // Specifically not inherit our `<body>` default
1216
color: $text-gray-dark;
1317
cursor: pointer;
1418
border: $border-width $border-style $border-gray-dark;
@@ -26,7 +30,6 @@
2630
}
2731

2832
&:last-of-type {
29-
padding-right: $spacer-3;
3033
border-top-right-radius: $border-radius;
3134
border-bottom-right-radius: $border-radius;
3235
}
@@ -36,5 +39,5 @@
3639
z-index: 3;
3740
float: left;
3841
// stylelint-disable-next-line primer/spacing
39-
margin: 14px -35px 0 14px;
42+
margin: 10px (-$spacer-5) 0 $spacer-3;
4043
}

0 commit comments

Comments
 (0)