WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38872, comment 7


Ignore:
Timestamp:
11/21/2016 11:59:41 PM (3 years ago)
Author:
derrickkoo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38872, comment 7

    initial v1  
    1 Please use [38872.2.diff](https://core.trac.wordpress.org/attachment/ticket/38872/38872.2.diff) instead. This patch fixes the problem by applying the explicit width to the `img`'s parent instead of the `img` itself, which allows for images to display at their natural width if they're smaller than 100%.
     1Please use 38872.2.diff instead. This patch fixes the problem by applying the explicit width to the `img`'s parent instead of the `img` itself, which allows for images to display at their natural width if they're smaller than 100%.
    22
    33You can test this by setting the gallery to a single column with size set to "Medium." The images should display at their natural size, narrower than the single column.