WordPress.org

Make WordPress Core

Ticket #49282: 49282.3.diff

File 49282.3.diff, 761 bytes (added by garrett-eclipse, 19 months ago)

Update selector to .policy-text from .wp-suggested-text to apply new styling from #44621 to plugins for consistent UI

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

     
    752752        display: none;
    753753}
    754754
    755 .wp-suggested-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     755.policy-text {
     756        margin-bottom: 1em;
     757}
     758
     759.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
    756760        background-color: #fff;
    757761        margin: 0;
    758762        padding: 1em;
    759763}
    760764
    761 .wp-suggested-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
     765.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
    762766        padding-top: 0;
    763767}
    764768