Make WordPress Core

Changeset 33417


Ignore:
Timestamp:
07/25/2015 10:43:46 PM (8 years ago)
Author:
iseulde
Message:

Editor: fit images

Fixes #31253.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r33415 r33417  
    7676}
    7777
     78img {
     79    height: auto;
     80    max-width: 100%;
     81}
     82
    7883.wp-caption {
    79     margin: 0;
     84    margin: 0; /* browser reset */
     85    max-width: 100%;
     86}
     87
     88/* iOS does not obey max-width if width is set. */
     89.ios .wp-caption {
     90    width: auto !important;
    8091}
    8192
Note: See TracChangeset for help on using the changeset viewer.