Skip to content

Commit 7d0c6a0

Browse files
authored
Update README.md
1 parent a1015e2 commit 7d0c6a0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,12 +522,15 @@ The distance (in pixels) the mouse must be from an empty sortable while dragging
522522
Demo: https://jsbin.com/becavoj/edit?js,output
523523

524524
An alternative to this option would be to set a padding on your list when it is empty.
525+
525526
For example:
526-
`ul:empty {
527+
```css
528+
ul:empty {
527529
padding-bottom: 20px;
528-
}`
530+
}
531+
```
529532

530-
Warning: For :empty to work, it must have no node inside (even text one).
533+
Warning: For `:empty` to work, it must have no node inside (even text one).
531534

532535
Demo:
533536
https://jsbin.com/yunakeg/edit?html,css,js,output

0 commit comments

Comments
 (0)