Make WordPress Core

Ticket #31253: 31253.2.patch

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

     
    6868        background: transparent;
    6969}
    7070
     71img,
     72.wp-caption {
     73        max-width: 100%;
     74}
     75
     76img {
     77        height: auto;
     78}
     79
    7180.aligncenter,
    7281dl.aligncenter,
    7382.html5-captions .wp-caption.aligncenter {
     
    125134        margin: 0;
    126135}
    127136
     137/* iOS does not obey max-width if width is set. */
     138.ios .wp-caption {
     139        width: auto !important;
     140}
     141
     142.ios .wp-caption.aligncenter {
     143        text-align: center;
     144}
     145
    128146/* Remove blue highlighting of selected images in WebKit */
    129147img::selection {
    130148        background-color: transparent;