m-e-conroy / angular-dialog-service

A complete AngularJS service with controllers and templates for generating application modals and dialogs for use with Angular-UI-Bootstrap and Twitter Bootstrap
MIT License
618 stars 228 forks source link

Option for changing modal dialog location #130

Closed dlwhiteman closed 8 years ago

dlwhiteman commented 9 years ago

Our company has a UI style guide where user dialogs are supposed to appear at the top center of the screen, rather than the middle. Is it possible with this dialog service to specify the dialog's location on the screen?

m-e-conroy commented 8 years ago

I think this is beyond the scope of this module. This module uses bootstrap to display modals, yes there is a CSS file to describe certain aspects of the predefined modals but I don't foresee positioning as a provided option within the JS. My solution would be to provide your own overrides of the Bootstrap 3 modal classes to achieve your result. I found this solution on Stack Overflow: Bootstrap 3 Vertical Position

Sorry for the late reply.