WordPress.org

Make WordPress Core

Ticket #43865: 43865-1.diff

File 43865-1.diff, 1.7 KB (added by seusmaniqbal, 20 months ago)

Set max-width for privacy page content readability

  • wp-admin/css/common.css

    diff --git a/wp-admin/css/common.css b/wp-admin/css/common.css
    index 2e07b4e8fc..28c2c51baf 100644
    a b th.action-links { 
    12861286        float: none;
    12871287}
    12881288
     1289/*
     1290* Privacy Policy settings for large screen
     1291*/
     1292.tools-privacy-description {
     1293        max-width: 70%;
     1294}
     1295
    12891296@media only screen and (max-width: 1120px) {
    12901297        .filter-drawer {
    12911298                border-bottom: 1px solid #eee;
    th.action-links { 
    13061313        .filter-items {
    13071314                float: none;
    13081315        }
     1316       
     1317        /*
     1318        * Privacy Policy settings for normal screen
     1319        */
     1320        .tools-privacy-description {
     1321                max-width: 100%;
     1322        }
    13091323
    13101324        .wp-filter .media-toolbar-primary,
    13111325        .wp-filter .media-toolbar-secondary,
  • wp-admin/privacy.php

    diff --git a/wp-admin/privacy.php b/wp-admin/privacy.php
    index c4ec307396..38173c197f 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    120120        <h1><?php _e( 'Privacy Tools' ); ?></h1>
    121121        <?php settings_errors(); ?>
    122122        <h2><?php _e( 'Privacy Policy page' ); ?></h2>
    123         <p>
     123        <p class="tools-privacy-description">
    124124                <?php _e( 'The first step towards privacy laws compliance is to have a comprehensive Privacy Policy.' ); ?>
    125125                <?php _e( 'If you already have a Privacy Policy page, please select it below. If not, create one.' ); ?>
    126126                <?php _e( 'The new policy will include the suggested privacy text.' ); ?>
    127127        </p>
    128         <p>
     128        <p class="tools-privacy-description">
    129129                <?php _e( 'After your Privacy Policy page is set, we suggest that you edit it.' ); ?>
    130130                <?php _e( 'On the edit page screen you will find additional privacy information added by your plugins.' ); ?>
    131131                <?php _e( 'We would also suggest reviewing your privacy policy from time to time, after a WordPress or a plugin update.' ); ?>