Make WordPress Core

Ticket #49009: 49009.2.patch

File 49009.2.patch, 552 bytes (added by sabernhardt, 7 months ago)

adjusts padding to 46px and explains that the extra pixel comes from the #customize-controls bottom border

  • src/wp-admin/css/customize-controls.css

     
    29312931                height: 45px;
    29322932        }
    29332933
     2934        .preview-only #customize-preview iframe {
     2935                padding-top: 46px; /* #customize-controls height plus 1px border */
     2936                box-sizing: border-box;
     2937        }
     2938
    29342939        .preview-only #customize-preview,
    29352940        .preview-only .customize-controls-preview-toggle .controls {
    29362941                display: block;