shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 242 forks source link

(Question) Can we set different width for different modals? #222

Open GopalakrishnanKandasamy opened 8 years ago

GopalakrishnanKandasamy commented 8 years ago

Hi, I'm trying to set different width for different modals. I'm able to change it globally on vex-theme-default.scss which changes the width of all the modals. Can anyone please tell me how to set it for each modals differently as our need?

coutin commented 8 years ago

On bootstrap them, you can set the size to large/small inside the BSModalContext that will set a modal-lg / modal-sm class on the modal container. You can then define specific sizes for those classes.

GopalakrishnanKandasamy commented 8 years ago

@coutin thanks. can you give an example & Is it possible on vex-modal?

konuch commented 7 years ago

Could be answered in #181