Permalink
Browse files

Prevented ugly wrapping of option text on wider flip switch example

  • Loading branch information...
1 parent 9866f99 commit 0623ef422d51cacfb775ce3cea098b34c5382ee1 @jakeboone02 committed Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/forms/switch/index.html
@@ -60,7 +60,7 @@
<p>The control is proportionally scaled, so if you're using longer words with it, you can just add a line of CSS to set it to the width you desire. For example, <code>div.ui-slider-switch { width: 9em }</code> will produce:</p>
<style type="text/css" media="screen">
- .switch-longdesc div.ui-slider-switch { width: 9em; }
+ .switch-longdesc div.ui-slider-switch { width: 9em; white-space: nowrap; }
</style>
<div class="switch-longdesc">
<label for="flip-min">Flip switch:</label>

0 comments on commit 0623ef4

Please sign in to comment.