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 using image_caption filter, when you specify a width for your image the width doesn't get applied to the caption.
Well to be exact, it gets applied but the wrapper span doesn't get display: block so the wodth doesn't have any effect on the wrapper span.
Comment | File | Size | Author |
---|---|---|---|
#1 | image_caption-wrapper_span_block-1403474-1.patch | 987 bytes | rooby |
Comments
Comment #1
rooby CreditAttribution: rooby commentedHere is a patch to fix it.
The patch also contains a change to the float line because it is related to this and could cause problems down the line if it is left as is.
Comment #2
rooby CreditAttribution: rooby commented