Make WordPress Core

Ticket #49295: 49295-no-heading-changes.diff

File 49295-no-heading-changes.diff, 1.2 KB (added by ryelle, 5 years ago)
  • src/wp-admin/css/about.css

    diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css
    index 51e49261d6..a2ddd0e1ff 100644
    a b  
    9999.about__section {
    100100        background: #f3f4f5;
    101101        background: var(--background);
     102        clear: both;
    102103}
    103104
    104105.about__container .has-accent-background-color {
     
    452453        -ms-writing-mode: tb-rl;
    453454        writing-mode: vertical-rl;
    454455        transform: rotate(180deg);
     456        direction: ltr;
     457}
     458
     459/* rtl:ignore */
     460.rtl .about__header-title {
     461        transform: none;
     462        direction: rtl;
    455463}
    456464
    457465/* Needs to be inline-block to use vertical-align, needs specificity to override flex. */
     
    543551        .about__container .about__header-text {
    544552                font-size: 1.4em;
    545553        }
    546 }
    547554
    548 @media screen and (max-width: 600px) {
    549555        .about__header {
    550556                display: block;
    551                 min-height: unset;
    552                 max-height: unset;
     557                min-height: none;
     558                max-height: none;
    553559                height: auto;
    554560        }
    555561
     
    561567                padding-top: 80%;
    562568                padding-bottom: 0;
    563569                -webkit-writing-mode: initial;
    564                 -ms-writing-mode: initial;
     570                -ms-writing-mode: lr-tb;
    565571                writing-mode: initial;
    566572                transform: none;
    567573        }
    568574
     575        .rtl .about__header-title {
     576                -ms-writing-mode: rl-tb;
     577        }
    569578        .about__header-text {
    570579                text-align: left;
    571580        }