Make WordPress Core

Ticket #49772: 49772.diff

File 49772.diff, 1.7 KB (added by garrett-eclipse, 4 years ago)

Full working patch to address plugins with the new styling of privacy policy guide

  • src/wp-admin/css/edit.css

     
    756756        margin-bottom: 1em;
    757757}
    758758
    759 .policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     759.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),
     760.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
    760761        background-color: #fff;
    761762        margin: 0;
    762763        padding: 1em;
    763764}
    764765
    765 .policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     766.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),
     767.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
    766768        padding-top: 0;
    767769}
    768770
    769 .hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     771.hide-privacy-policy-tutorial > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
    770772        margin: 1em 0;
    771773        padding: 0;
    772774}
    773775
     776.policy-text ul li,
     777.policy-text ol li {
     778        margin-left: 2em;
     779}
     780
     781.policy-text ul {
     782        list-style: disc;
     783}
     784
    774785strong.wp-policy-help, /* For back-compat, see #49282 */
    775786strong.privacy-policy-tutorial {
    776787        display: block;