Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Issue 7174 #7186

Closed
wants to merge 2 commits into from

2 participants

This page is out of date. Refresh to see the latest.
View
27 css/structure/jquery.mobile.forms.flipswitch.css
@@ -65,16 +65,17 @@
padding: 1px;
text-indent: 1em; /* Override this to center text if you use a label other than "off" */
}
-@media (min-width: 28em) {
- .ui-field-contain > label + .ui-flipswitch {
- display: inline-block;
- width: 5.875em; /* If you override the width for .ui-flipswitch you should repeat the same value here */
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- -ms-box-sizing: content-box;
- box-sizing: content-box;
- }
- .ui-field-contain .ui-flipswitch.ui-flipswitch-active {
- width: 1.875em;
- }
-}
+/* Override field container CSS to prevent the flipswitch from becomming full width */
+html .ui-field-contain > label + .ui-flipswitch,
+html .ui-popup .ui-field-contain > label + .ui-flipswitch {
+ display: inline-block;
+ width: 5.875em; /* If you override the width for .ui-flipswitch you should repeat the same value here */
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ -ms-box-sizing: content-box;
+ box-sizing: content-box;
+}
+.ui-field-contain .ui-flipswitch.ui-flipswitch-active,
+.ui-popup .ui-field-contain .ui-flipswitch.ui-flipswitch-active {
+ width: 1.875em;
+}
View
15 css/structure/jquery.mobile.forms.slider.css
@@ -153,11 +153,10 @@ div.ui-slider-switch.ui-mini {
.ui-field-contain div.ui-slider-switch {
margin: 0;
}
-@media (min-width: 28em) {
- /* ui-hide-label deprecated in 1.4. TODO: Remove in 1.5 */
- .ui-field-contain div.ui-slider-switch,
- .ui-field-contain.ui-hide-label div.ui-slider-switch {
- display: inline-block;
- width: 5.8em;
- }
-}
+/* ui-hide-label deprecated in 1.4. TODO: Remove in 1.5 */
+.ui-field-contain div.ui-slider-switch,
+.ui-field-contain.ui-hide-label div.ui-slider-switch,
+html .ui-popup .ui-field-contain div.ui-slider-switch {
+ display: inline-block;
+ width: 5.8em;
+}
Something went wrong with that request. Please try again.