WordPress.org

Make WordPress Core

Ticket #23147: 23147.patch

File 23147.patch, 739 bytes (added by lancewillett, 5 years ago)

Add better spacing around aligned captions

  • wp-content/themes/twentytwelve/style.css

     
    884884        margin: 0 0 24px;
    885885        margin: 0 0 1.714285714rem;
    886886}
    887 img.alignleft {
     887img.alignleft,
     888.wp-caption.alignleft {
    888889        margin: 12px 24px 12px 0;
    889890        margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
    890891}
    891 img.alignright {
     892img.alignright,
     893.wp-caption.alignright {
    892894        margin: 12px 0 12px 24px;
    893895        margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
    894896}
    895 img.aligncenter {
     897img.aligncenter,
     898.wp-caption.aligncenter {
    896899        clear: both;
    897900        margin-top: 12px;
    898901        margin-top: 0.857142857rem;