WordPress.org

Make WordPress Core

Ticket #47948: 47948.2.patch

File 47948.2.patch, 1.2 KB (added by sabernhardt, 6 weeks ago)

removes border and padding from circle mask images; adds styles for better Edge support

  • src/wp-content/themes/twentyeleven/editor-blocks.css

     
    197197        right: 10px;
    198198}
    199199
     200/* Support `Gutenberg` circle mask effect */
     201
     202.editor-styles-wrapper .is-style-circle-mask img {
     203        border: 0;
     204        padding: 0;
     205}
     206
     207@supports (-ms-ime-align:auto) {
     208        .editor-styles-wrapper .is-style-circle-mask img {
     209                mask-size: cover;
     210        }
     211}
     212
    200213/* Quote */
    201214
    202215.wp-block-freeform.block-library-rich-text__tinymce blockquote {
  • src/wp-content/themes/twentyeleven/style.css

     
    996996        border-color: #ddd;
    997997}
    998998
     999/* Support `Gutenberg` circle mask effect */
     1000.is-style-circle-mask img {
     1001        border: 0;
     1002        padding: 0;
     1003}
     1004@supports (-ms-ime-align:auto) {
     1005        #content .is-style-circle-mask img {
     1006                mask-size: cover;
     1007        }
     1008}
     1009
    9991010/* Make sure videos and embeds fit their containers */
    10001011embed,
    10011012iframe,