Skip to content

Commit 4f2f500

Browse files
committed
Updated slider / flip switch label typography to match
1 parent b8f3274 commit 4f2f500

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/lists/lists-forms-inset.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ <h1>Inset with Forms</h1>
102102
<label for="radio-choice-c">List</label>
103103
<input type="radio" name="radio-choice-b" id="radio-choice-d" value="off" />
104104
<label for="radio-choice-d">Grid</label>
105-
<input type="radio" name="radio-choice-b" id="radio-choice-e" value="other" />
106-
<label for="radio-choice-e">Gallery</label>
107105
</fieldset>
108106
</li>
109107

themes/default/jquery.mobile.forms.slider.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright (c) jQuery Project
44
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
55
*/
6-
label.ui-slider { display: block; }
6+
label.ui-slider { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
77
input.ui-slider-input,
88
.ui-field-contain input.ui-slider-input { display: inline-block; width: 50px; }
99
select.ui-slider-switch { display: none; }
@@ -13,7 +13,7 @@ a.ui-slider-handle { position: absolute; z-index: 10; top: 50%; width: 28px; he
1313
a.ui-slider-handle .ui-btn-inner { padding-left: 0; padding-right: 0; }
1414
@media all and (min-width: 480px){
1515
.ui-field-contain label.ui-slider { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; }
16-
.ui-field-contain div.ui-slider { width: 45%; }
16+
.ui-field-contain div.ui-slider { width: 43%; }
1717
}
1818

1919
div.ui-slider-switch { height: 32px; overflow: hidden; margin-left: 0; }

0 commit comments

Comments
 (0)