How to change the size of the modal.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 09:24 AM
How do I expand the size of the modal past the "lg" preset?
This is what I have so far on the client script:
c.modalTemplateResolveActiveContract = function () {
c.modalInstance = $uibModal.open({
templateUrl: 'modalTemplate',
scope: $scope,
size: 'lg',
backdrop: 'static'
});
};
c.closeModal = function () {
c.modalInstance.close();
};
I tired "xlg" but that does not work. Is there another way to achieve what I am aiming for?
Labels:
- Labels:
-
Scripting and Coding
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 01:30 PM
I can not seem to figure out how to get the height of modal-content to be 100%. Any help?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2021 10:37 PM
I am a bit late to the party, but I found an answer in the OOB UI Action "De-escalate Case" when searching for a solution to a clipped modal.
There is a height parameter. See below for its use.
g_modal.showFrame({title: 'De-escalate Case',
url: '/sn_customerservice_escalation.do?sys_id='+answer+'&sysparm_view=request_de_escalation&sysparm_titleless=true&sysparm_isWorkspace=true',
size:'lg',
height: '25rem'});