• Resolved Larzans

    (@larzans)


    Hi, as i said, great plugin, just some polishing needed ??

    Because you didn’t wrap your settings in a custom class and edited the general wp classes the display breaks in a few places (namely some wp boxes in the right column, ACF fields, dunno what else).

    For your copy + paste convenience here the necessary changes to easily apply:

    wp-rest-api-security.php

    Replaec line 256 with: <div class="wrap wp-rest-api-security--settings">

    style.css
    Replace content with:

    
    .wp-rest-api-security--settings #poststuff {
      border-spacing: 0;
      border-collapse: collapse;
    }
    .wp-rest-api-security--settings #poststuff tr:nth-child(odd) {
      background-color: #f9f9f9;
    }
    .wp-rest-api-security--settings #poststuff th,
    .wp-rest-api-security--settings #poststuff td {
      padding: 0 0.5em;
    }
    .wp-rest-api-security--settings #poststuff th.endpoint {
      text-align: left;
    }
    .wp-rest-api-security--settings #poststuff td {
      text-align: center;
    }
    .wp-rest-api-security--settings #poststuff td.endpoint {
      font-family: monospace;
      text-align: left;
    }
    .wp-rest-api-security--settings #poststuff td label {
      font-weight: normal;
    }
    .wp-rest-api-security--settings .postbox .inside {
      text-align: right;
    }
    

    P.s.: i’d be happy to help you with the further development of the plugin if you are interested. Cheers

    • This topic was modified 5 years, 5 months ago by Larzans.
    • This topic was modified 5 years, 5 months ago by Larzans.
    • This topic was modified 5 years, 5 months ago by Larzans.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin CSS breaks wp backend display’ is closed to new replies.