We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any option available to specify the width and height of the dialog?
The text was updated successfully, but these errors were encountered:
I need this option too. Anything about that? Aparently, styles via CCS (.modal-dialog, .modal-body) are not taken into account, I don't know why
Sorry, something went wrong.
Is there any update on this? Has anyone found a solution?
I solved it like this: In css: .modal-xl { width: 1100px; } .modal-header { padding: 0; } .modal-fit.modal-body { overflow-y: auto; max-height: calc(100vh - 140px); }
In MyModal.ts: dialogInit(reference: ComponentRef, options: Partial<IModalDialogOptions>) { options.settings = {}; options.settings.modalDialogClass = 'modal-dialog modal-dialog-centered modal-xl'; options.settings.bodyClass = 'modal-body p-0'; }
In MyModal.html: div class="modal-body modal-fit" ... div
*I have to remove < in html section since blog omitted it
No branches or pull requests
Is there any option available to specify the width and height of the dialog?
The text was updated successfully, but these errors were encountered: