There was an error while loading. Please reload this page.
1 parent e9e8a84 commit 8fdd1fcCopy full SHA for 8fdd1fc
1 file changed
components/builder-web/app/shared/visibility-selector/_visibility-selector.component.scss
@@ -25,19 +25,19 @@
25
26
// MDC radio button: .mdc-form-field wraps the radio + label in a flex row
27
.mdc-form-field {
28
- position: relative;
29
align-items: flex-start;
30
31
.mdc-radio {
32
- position: absolute;
33
- top: 0;
34
- left: 0;
+ flex-shrink: 0;
+ // MDC touch target is 40px; visual circle is 20px (10px padding each side).
+ // Negative margins cancel that padding so the circle aligns with the text.
+ margin-top: -10px;
35
+ margin-left: -10px;
36
}
37
38
.mdc-label {
39
white-space: normal;
- margin-left: $default-margin;
40
- padding-left: $default-padding;
+ padding-left: 6px;
41
42
hab-icon {
43
margin-left: $small-margin;
0 commit comments