Skip to content

Commit 79cdb40

Browse files
committed
fix(input-alignment): added display declaration
1 parent 94e8b16 commit 79cdb40

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/patternfly/components/Check/check.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
&.pf-m-standalone {
2727
--#{$check}--GridGap: 0;
2828
--#{$check}__input--TranslateY: none;
29+
30+
display: inline-grid;
2931
}
3032
}
3133

@@ -36,7 +38,7 @@
3638
-moz-transform: translateY(var(--#{$check}__input--TranslateY--moz)); // remove at breaking change - no longer needed
3739
// stylelint-enable
3840

39-
// find height of single label, divide by two, offset by 50% of own height
41+
// find height of single label, divide by two, offset by 50% of own height
4042
transform: translateY(var(--#{$check}__input--TranslateY));
4143
}
4244

src/patternfly/components/Radio/radio.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
--#{$radio}--GridGap: 0;
2525
--#{$radio}__input--TranslateY: none;
2626

27-
width: auto;
27+
display: inline-grid;
2828
}
2929
}
3030

0 commit comments

Comments
 (0)