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.
When floating images left or right, the height of the container being set to the static value of the image itself doesn't make much sense. We need a patch addresses that.
This patch also must preserve the padding and margin css properties set on images by applying those properties to the inline styling of the container along with the width.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2458101-image-caption-keep-margin-padding.patch | 4.29 KB | dshields |
Comments
Comment #1
dshields CreditAttribution: dshields at OpenConcept Consulting Inc. commentedHere's a patch that addresses these needs.