Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 4d234a3

Browse files
authored
fix: inline radio item style specification (#225)
1 parent 0bdab10 commit 4d234a3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/govie/components/radios/_index.scss

+14-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@
374374
// Inline radios
375375
// =========================================================
376376

377-
.govie-radios--inline {
377+
&.govie-radios--inline {
378378
@include govie-media-query($from: tablet) {
379379
@include govie-clearfix;
380380

@@ -450,6 +450,19 @@
450450
margin-bottom: 0;
451451
padding-left: $label-offset;
452452
float: left;
453+
clear: left;
454+
}
455+
456+
&.govie-radios--inline {
457+
@include govie-media-query($from: tablet) {
458+
@include govie-clearfix;
459+
460+
.govie-radios__item {
461+
margin-right: govie-spacing(4);
462+
float: left;
463+
clear: none;
464+
}
465+
}
453466
}
454467

455468
// Shift the touch target into the left margin so that the visible edge of

0 commit comments

Comments
 (0)