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.
Plenty of themes use z-indexes higher than 1001 and having these styles applied inline prevents us from overriding it to fix the modal to work with our themes.
Chris MatthewsCreditAttribution: Chris Matthews as a volunteer commented
Status:
Needs review
» Needs work
The 2 year old re-rolled patch in #6 to modal.js applied cleanly to the latest ctools 7.x-1.x-dev, but the comments in #3 and #4 still need to be addressed.
Comments
Comment #1
realityloopComment #2
realityloopreduced from 10000001 to 1000001
Comment #3
muhleder CreditAttribution: muhleder commentedWhy not put the z-index and position setting into css?
Plenty of themes use z-indexes higher than 1001 and having these styles applied inline prevents us from overriding it to fix the modal to work with our themes.
Comment #4
muhleder CreditAttribution: muhleder commentedOk, so it is possible to override in css. Still don't think it should be inline.
Comment #6
robertnorrie CreditAttribution: robertnorrie commentedAttempted to apply this patch against ctools 7.x-1.11 and the patch was out of date. Uploading a new version of the patch.
Comment #7
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 2 year old re-rolled patch in #6 to modal.js applied cleanly to the latest ctools 7.x-1.x-dev, but the comments in #3 and #4 still need to be addressed.