Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(modal): allow for custom user modal sizes
Browse files Browse the repository at this point in the history
Remove restriction to Bootstrap-native `modal-sm` and `modal-lg` size classes.

Fixes #3429
Closes #3431
  • Loading branch information
RevanProdigalKnight authored and chrisirhc committed Mar 25, 2015
1 parent 9468d72 commit 85eeb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/modal/window.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div modal-render="{{$isRendered}}" tabindex="-1" role="dialog" class="modal fade" ng-class="{in: animate}" ng-style="{'z-index': 1050 + index*10, display: 'block'}" ng-click="close($event)">
<div class="modal-dialog" ng-class="{'modal-sm': size == 'sm', 'modal-lg': size == 'lg'}"><div class="modal-content" modal-transclude></div></div>
<div class="modal-dialog" ng-class="size ? 'modal-' + size : ''"><div class="modal-content" modal-transclude></div></div>
</div>

0 comments on commit 85eeb95

Please sign in to comment.