Commit 6a785d2673a2eba57525ea4b4d4b5861e5d51836
1 parent
b1d549cc
Exists in
master
and in
1 other branch
Improve boxes layout
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/app/views/profile/box.html
1 | -<div class="col-sm-6 col-md-4"> | ||
2 | - Box {{box.id}}->{{box.position}} | 1 | +<div ng-class="{'col-md-3': box.position!=1, 'col-md-6': box.position==1}"> |
3 | <ng-include ng-repeat="block in box.blocks | orderBy: 'position'" src="'app/views/profile/block.html'"></ng-include> | 2 | <ng-include ng-repeat="block in box.blocks | orderBy: 'position'" src="'app/views/profile/block.html'"></ng-include> |
4 | </div> | 3 | </div> |