Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 8f5ad89

Browse files
Checkbox: Native input and icon style. Fixes #5740.
1 parent f6624ac commit 8f5ad89

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css/structure/jquery.mobile.forms.checkboxradio.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,25 @@
2424
.ui-controlgroup-horizontal .ui-checkbox .ui-btn:after,
2525
.ui-controlgroup-horizontal .ui-radio .ui-btn:after {
2626
content: none;
27+
display: none;
2728
}
2829
/* Native input positioning */
2930
.ui-checkbox input,
3031
.ui-radio input {
3132
position: absolute;
32-
left: 1em;
33+
left: .625em;
3334
top: 50%;
3435
width: 10px;
3536
height: 10px;
3637
margin: -5px 0 0 0;
3738
outline: 0 !important;
3839
z-index: 1;
3940
}
41+
.ui-controlgroup-horizontal .ui-checkbox input,
42+
.ui-controlgroup-horizontal .ui-radio input {
43+
left: 50%;
44+
margin-left: -5px;
45+
}
4046
.ui-checkbox input:disabled,
4147
.ui-radio input:disabled {
4248
top: -9999px;

0 commit comments

Comments
 (0)