We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e294ab9 + 7d0c6a0 commit 101b92eCopy full SHA for 101b92e
README.md
@@ -521,6 +521,19 @@ The distance (in pixels) the mouse must be from an empty sortable while dragging
521
522
Demo: https://jsbin.com/becavoj/edit?js,output
523
524
+An alternative to this option would be to set a padding on your list when it is empty.
525
+
526
+For example:
527
+```css
528
+ul:empty {
529
+ padding-bottom: 20px;
530
+}
531
+```
532
533
+Warning: For `:empty` to work, it must have no node inside (even text one).
534
535
+Demo:
536
+https://jsbin.com/yunakeg/edit?html,css,js,output
537
538
---
539
### Event object ([demo](https://jsbin.com/fogujiv/edit?js,output))
0 commit comments