Skip to content

Commit 25cbb06

Browse files
author
Dean Sofer
committed
1 parent 20530da commit 25cbb06

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

css/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ section {
189189
width:400px;
190190
}
191191

192+
/*** Sortable ***/
193+
.directives-sortable ul.children {
194+
padding: 5px 0;
195+
}
196+
192197
/*** Highlight ***/
193198
.ui-match {
194199
background: yellow;

index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -964,11 +964,9 @@ <h3>Destroy Families</h3>
964964
<p>You're not fit to be a mother!</p>
965965
<ul ui-sortable ng-model="parents">
966966
<li ng-repeat="parent in parents">
967-
<ul>
968-
<h5>{{parent.name}}</h5>
969-
<ul class="children" ui-sortable="{connectWith:'.children'}" ng-model="parent.children">
970-
<li ng-repeat="child in parent.children">{{child}}</li>
971-
</ul>
967+
<h5>{{parent.name}}</h5>
968+
<ul class="children" ui-sortable="{connectWith:'.children'}" ng-model="parent.children">
969+
<li ng-repeat="child in parent.children">{{child}}</li>
972970
</ul>
973971
</li>
974972
</ul>

0 commit comments

Comments
 (0)