#22227 closed defect (bug) (fixed)
Twenty Twelve: links in gallery captions wrap to next line
| Reported by: | DrewAPicture | Owned by: | lancewillett |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Bundled Theme | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
From this forum thread: http://wordpress.org/support/topic/gallery-image-caption-links-in-twentytwelve-theme?replies=1
In galleries, links in captions are inheriting display:block from .gallery-item a {}, forcing text to the next line. Attached patch adds .gallery-caption a {}. Props @bradvin for the fix
Patch attached.
Attachments (2)
Change History (7)
#2
@
14 years ago
22227.2.diff also accounts for the caption overflowing the width of the image in first "after" screenshot in comment 1.
New after: http://cl.ly/image/3o3h2n1R1D1s
This ticket was mentioned in Slack in #core-editor by zieladam. View the logs.
7 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Before: http://cl.ly/image/251m1C003I1L
After: http://cl.ly/image/2F471F440Z1D