Skip to content

Commit cc8c02f

Browse files
committed
fix(checkbox): add code that got lost in merge
1 parent 67362fd commit cc8c02f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

core/src/components/checkbox/checkbox.common.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@
152152
*/
153153
:host(.checkbox-label-placement-end) .checkbox-wrapper {
154154
flex-direction: row-reverse;
155+
156+
justify-content: start;
155157
}
156158

157159
// Label Placement - Fixed
@@ -177,8 +179,6 @@
177179
*/
178180
:host(.checkbox-label-placement-stacked) .checkbox-wrapper {
179181
flex-direction: column;
180-
181-
text-align: center;
182182
}
183183

184184
:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper {

core/src/components/checkbox/checkbox.native.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ input {
128128
// Label Placement - Stacked
129129
// ----------------------------------------------------------------
130130

131+
:host(.checkbox-label-placement-stacked) .checkbox-wrapper {
132+
text-align: center;
133+
}
134+
131135
:host(.checkbox-label-placement-stacked) .label-text-wrapper {
132136
@include transform(scale(#{$form-control-label-stacked-scale}));
133137

0 commit comments

Comments
 (0)