Reduced the width of the slider at narrow (smartphone) sizes to avoid wrapping

On inset lists with embedded forms, the slider was wrapping under the
input.
This commit is contained in:
toddparker 2011-10-16 00:01:42 -04:00
parent 4f2f500cd8
commit dc19bbf810

View file

@ -7,7 +7,7 @@ label.ui-slider { font-size: 16px; line-height: 1.4; font-weight: normal; margi
input.ui-slider-input,
.ui-field-contain input.ui-slider-input { display: inline-block; width: 50px; }
select.ui-slider-switch { display: none; }
div.ui-slider { position: relative; display: inline-block; overflow: visible; height: 15px; padding: 0; margin: 0 2% 0 20px; top: 4px; width: 70%; }
div.ui-slider { position: relative; display: inline-block; overflow: visible; height: 15px; padding: 0; margin: 0 2% 0 20px; top: 4px; width: 66%; }
div.ui-slider-switch { width: 99.8%; }
a.ui-slider-handle { position: absolute; z-index: 10; top: 50%; width: 28px; height: 28px; margin-top: -15px; margin-left: -15px; }
a.ui-slider-handle .ui-btn-inner { padding-left: 0; padding-right: 0; }