Skip to content

Commit 73d41a1

Browse files
committed
revert some changes
1 parent 27e837f commit 73d41a1

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/lib/checkbox/checkbox.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
<div class="mat-checkbox-mixedmark"></div>
3636
</div>
3737
</div>
38-
3938
<span class="mat-checkbox-label" #labelWrapper>
4039
<!-- Add an invisible span so JAWS can read the label -->
4140
<span style="display:none">&nbsp;</span>

src/lib/checkbox/checkbox.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,13 @@ $_mat-checkbox-mark-stroke-size: 2 / 15 * $mat-checkbox-size !default;
418418
}
419419
}
420420

421+
mat-checkbox-input {
422+
// Move the input to the bottom and in the middle.
423+
// Visual improvement to properly show browser popups when being required.
424+
bottom: 0;
425+
left: 50%;
426+
}
427+
421428
.mat-checkbox-ripple {
422429
position: absolute;
423430
left: -$_mat-checkbox-ripple-size;

src/lib/radio/radio.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
[mdRippleDisabled]="_isRippleDisabled()"
1111
[mdRippleCentered]="true"></div>
1212
</div>
13+
1314
<input #input class="mat-radio-input cdk-visually-hidden" type="radio"
1415
[id]="inputId"
1516
[checked]="checked"

0 commit comments

Comments
 (0)