diff options
Diffstat (limited to 'demos/sortable')
-rw-r--r-- | demos/sortable/default.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/demos/sortable/default.html b/demos/sortable/default.html index 7465582c4..5f9ac3567 100644 --- a/demos/sortable/default.html +++ b/demos/sortable/default.html @@ -9,7 +9,8 @@ <link type="text/css" href="../demos.css" rel="stylesheet" /> <style type="text/css"> #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; } - #sortable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; } + #sortable li { margin: 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; } + #sortable li span { position: absolute; margin-left: -1.3em; } </style> <script type="text/javascript"> $(function() { @@ -21,13 +22,13 @@ <div class="demo"> <ul id="sortable"> - <li class="ui-state-default">Item 1</li> - <li class="ui-state-default">Item 2</li> - <li class="ui-state-default">Item 3</li> - <li class="ui-state-default">Item 4</li> - <li class="ui-state-default">Item 5</li> - <li class="ui-state-default">Item 6</li> - <li class="ui-state-default">Item 7</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 1</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 2</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 3</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 4</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 5</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 6</li> + <li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 7</li> </ul> </div><!-- End demo --> |