WordPress.org

Make WordPress Core

Ticket #31253: 31253.patch

File 31253.patch, 773 bytes (added by iseulde, 6 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
    7176.aligncenter,
    7277dl.aligncenter,
    7378.html5-captions .wp-caption.aligncenter {
     
    125130        margin: 0;
    126131}
    127132
     133/* iOS does not obey max-width if width is set. */
     134.ios .wp-caption {
     135        width: auto !important;
     136}
     137
     138.ios .wp-caption.aligncenter {
     139        text-align: center;
     140}
     141
    128142/* Remove blue highlighting of selected images in WebKit */
    129143img::selection {
    130144        background-color: transparent;