-
Notifications
You must be signed in to change notification settings - Fork 6.7k
feat($modal): support modal window sizes #2084
Conversation
@gazoakley thnx for this PR, I like the direction it is taking! I would like to ask you for 2 changes, though:
Could you please do those changes and squash the commits afterwards? Thank you! |
@gazoakley I don't know if I help, but for the template expression that @pkozlowski-opensource is talking about you can use something like: |
@bekos I like the conciseness of that, but unfortunately Angular ended up appending the class as 'modal-' instead of 'modal-sm' or 'modal-lg'. At the moment I'm using |
If people are happy with these changes let me know and I'll squash the commit. |
LGTM. Please squash commits. Also it would be great if the commit message follow our convention, sth like: |
All done. Let me know if you'd like anything changed. |
Thnx @gazoakley, your commit looks good now. But it looks like it is not based on the latest master as it doesn't merge cleanly. Will try to merge manually later on, but if you could rebase it on top of the latest master it would be helpful. |
Tidying this now. |
Allows use of the size modifier classes shipped with Bootstrap 3.1 onwards. Specify either 'sm' or 'lg' to get a small/large modal dialog. Defaults to normal size dialog if not specified.
Should all be GTG. |
@gazoakley thnx, it landed! Much appreciated! |
Following on from comments by @bekos in #1885 this pull request allows specifying a size of either sm or lg when creating a modal dialog