Make WordPress Core

Changeset 42886


Ignore:
Timestamp:
03/28/2018 01:50:56 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Twenty Ten: Restore max-width on .wp-caption.

[42837] fixed the compatibility issue caused by [41724], returning the caption shortcode to the pre-4.9.0 behavior.

Reverts [42386].
Fixes #42604.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/style.css

    r42386 r42886  
    804804img.size-medium,
    805805.attachment img,
    806 .entry-content img,
    807 .wp-caption img,
    808806.widget-container img {
    809807    max-width: 100%; /* When images are too wide for containing element, force them to fit. */
     
    840838    line-height: 18px;
    841839    margin-bottom: 20px;
     840    max-width: 632px !important; /* prevent too-wide images from breaking layout */
    842841    padding: 4px;
    843842    text-align: center;
Note: See TracChangeset for help on using the changeset viewer.