WordPress.org

Make WordPress Core

Ticket #44092: 44092.2.diff

File 44092.2.diff, 615 bytes (added by ianbelanger, 2 years ago)

Added line-height and vertical padding to buttons

  • src/wp-includes/css/buttons.css

     
    5959        box-sizing: border-box;
    6060}
    6161
     62/* Personal Data Export button specific styles */
     63.wp-core-ui .button.export-personal-data-handle {
     64        line-height: 1.5;
     65        height: auto;
     66   padding: 4px 10px;
     67        white-space: unset;
     68}
     69
    6270/* Remove the dotted border on :focus and the extra padding in Firefox */
    6371.wp-core-ui button::-moz-focus-inner,
    6472.wp-core-ui input[type="reset"]::-moz-focus-inner,