Document use of additional modal classes in size property. #58

Open
opened 2019-10-08 16:30:50 +08:00 by alanmies · 1 comment
alanmies commented 2019-10-08 16:30:50 +08:00 (Migrated from github.com)

There are some Bootstrap 4 classes one might want to include in dialogs, such as "modal-dialog-centered" and "modal-dialog-scrollable" - short of rewriting the template code, those can be easily injected by including them in the "size" parameter for $uibModal.open. Like "size: 'md modal-dialog-centered'". So include this in the documentation as well?

There are some Bootstrap 4 classes one might want to include in dialogs, such as "modal-dialog-centered" and "modal-dialog-scrollable" - short of rewriting the template code, those can be easily injected by including them in the "size" parameter for $uibModal.open. Like "size: 'md modal-dialog-centered'". So include this in the documentation as well?
Morgul commented 2019-10-08 21:50:42 +08:00 (Migrated from github.com)

@alanmies That's a great idea. While adding two more properties for this wouldn't be all that hard, this change makes for a pretty nice work around until/if that happens.

@alanmies That's a great idea. While adding two more properties for this wouldn't be all that hard, this change makes for a pretty nice work around until/if that happens.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: invisi/ui-bootstrap4#58