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.
Currently, the element's height and width is not automatically taken into consideration when rendering. This result in overlay rendering issues. Please see screenshot. One possible fix is to automatically limit the window's height and width, should they be larger than element's.
Comment | File | Size | Author |
---|---|---|---|
#3 | ctools-resize_to_body-2568347-2.patch | 422 bytes | ynx |
#2 | ctools-resize_to_body-2568347-1.patch | 523 bytes | ynx |
#2 | issue.1.fixed_.png | 241.2 KB | ynx |
#2 | issue.1.before.fix_.png | 255.3 KB | ynx |
Comments
Comment #2
ynx CreditAttribution: ynx commentedAttaching screenshots for "before" and "after", and the proposed patch.
Comment #3
ynx CreditAttribution: ynx commentedNoticed that setting winHeight to bodyHeight is actually not desired on some use cases, so I am no longer requesting that. Please only use ctools-resize_to_body-2568347-2.patch.