Make WordPress Core

Ticket #44621: 44621-white-background-aligned.diff

File 44621-white-background-aligned.diff, 715 bytes (added by sabernhardt, 5 years ago)

white background option, aligned to the text container edge

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

     
    733733        visibility: hidden;
    734734}
    735735
    736 .wp-suggested-text p {
    737         font-style: italic;
     736.wp-suggested-text p:not(.privacy-policy-tutorial) {
     737        background-color: #fff;
     738        margin: 0;
     739        padding: 1.5em;
    738740}
    739741
    740 .wp-suggested-text p.privacy-policy-tutorial {
    741         font-style: normal;
     742.wp-suggested-text p:not(.privacy-policy-tutorial) + p:not(.privacy-policy-tutorial) {
     743        padding-top: 0;
    742744}
    743745
     746strong.privacy-policy-tutorial {
     747        display: block;
     748        margin: 0 0 1em;
     749}
     750
    744751.notice.wp-pp-notice {
    745752        margin: 15px 0 3px;
    746753}