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

Commit d0f3f90

Browse files
Slider: Removed CSS for regular sized input. Became superfluous now that the input is always mini sized.
1 parent 24bc9f0 commit d0f3f90

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

css/structure/jquery.mobile.forms.slider.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
label.ui-slider { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
2-
input.ui-slider-input,
3-
.ui-field-contain input.ui-slider-input { display: inline-block; width: 50px; background-image: none; padding: .4em; margin: .5em 0; line-height: 1.4; font-size: 16px; outline: 0; }
2+
/* Slider input is always mini sized */
43
input.ui-slider-input.ui-mini,
5-
.ui-field-contain input.ui-slider-input.ui-mini { width: 45px; margin: .25em 0; font-size: 14px; }
4+
.ui-field-contain input.ui-slider-input.ui-mini { display: inline-block; width: 45px; background-image: none; padding: .4em; margin: .5em 0; line-height: 1.4; font-size: 14px; outline: 0; }
65
.ui-field-contain input.ui-slider-input { margin: 0; }
76
input.ui-slider-input, .ui-field-contain input.ui-slider-input { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; box-sizing: content-box; }
87
/* Fixes input fields being to small on Safari/Mac because of the up and down arrows. */

0 commit comments

Comments
 (0)