WordPress.org

Make WordPress Core

Ticket #31253: 31253.3.patch

File 31253.3.patch, 589 bytes (added by iseulde, 5 years ago)
  • src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

     
    7575        text-align: center;
    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
    8293.wp-caption img {