Make WordPress Core

Ticket #56748: 56748.add-rtl.patch

File 56748.add-rtl.patch, 790 bytes (added by sabernhardt, 3 years ago)

adding RTL fix for larger screens

  • src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss

     
    1111        }
    1212
    1313        .alignright {
     14
     15                /*rtl:ignore*/
    1416                margin-left: var(--global--spacing-horizontal);
     17
     18                /*rtl:ignore*/
     19                margin-right: 0;
    1520        }
    1621
    1722        .alignleft {
     23
     24                /*rtl:ignore*/
    1825                margin-right: var(--global--spacing-horizontal);
     26
     27                /*rtl:ignore*/
     28                margin-left: 0;
    1929        }
    2030
    2131        a:focus img {
     
    5767                        @include media(mobile-only) {
    5868                                margin-left: 0;
    5969                                margin-right: 0;
     70                                float: none;
    6071                        }
    6172                }
    6273        }