Skip to content
Permalink
Browse files

Sortable demo: Allow dropping to empty list and improve general styling

  • Loading branch information
jzaefferer committed Apr 24, 2014
1 parent 6fb72fd commit 101513d6511bf2c8826d0400a16da58727b84935
Showing with 16 additions and 2 deletions.
  1. +16 −2 demos/sortable/connect-lists.html
@@ -11,8 +11,22 @@
<script src="../../ui/sortable.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
#sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0 0 2.5em; float: left; margin-right: 10px; }
#sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; }
#sortable1, #sortable2 {
border: 1px solid #eee;
width: 142px;
min-height: 20px;
list-style-type: none;
margin: 0;
padding: 5px 0 0 0;
float: left;
margin-right: 10px;
}
#sortable1 li, #sortable2 li {
margin: 0 5px 5px 5px;
padding: 5px;
font-size: 1.2em;
width: 120px;
}
</style>
<script>
$(function() {

0 comments on commit 101513d

Please sign in to comment.
You can’t perform that action at this time.