Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The modal form gets a scroll bar if the content needs more space. In my case this is a unwanted behavior.
Comments
Comment #1
roblav CreditAttribution: roblav commentedI agree. The current setup for the size of the modal box is very limited, and I've run in to problems because of it. The only options seem to be to change the settings in modal_forms.module, not good, or override the inline style in your theme css:
div.ctools-modal-content .modal-content[style]{
height: 315px !important;
}
Also, not really ideal.
Comment #2
JordanMagnuson CreditAttribution: JordanMagnuson commentedThis issue seems to be more or less a duplicate of one that I started here.
While not an uber solution, I've created a patch that provides a UI for altering the sizes of the modal popups that come with this module.
I'd be grateful if you guys could test out the patch so we can get it committed...