Make WordPress Core

Ticket #64763: 64763-improved.patch

File 64763-improved.patch, 891 bytes (added by sachinrajcp123, 5 months ago)

Patch for #64763 - Removes unnecessary line-height from standard input elements - Adds minor adjustments to improve alignment in some inputs This builds upon previous patches. Patch ready for review.

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

    diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css
    a b input[type="time"], (this hunk was shorter than expected)  
    6868input[type="url"],
    6969input[type="week"] {
    7070    padding: 0 12px;
    71     line-height: 2.71428571;
    7271    min-height: 40px;
    7372}
    7473
    p.search-box input[type="search"], (this hunk was shorter than expected)  
    795794p.search-box input[type="text"] {
    796795    min-height: 32px;
    797     line-height: 2.14285714;
    798796    padding: 0 8px;
    799797}
    800798
    table.form-table td .updated p {  
    15851583    -webkit-appearance: none;
    15861584    padding: 0 12px;
    15871585    min-height: 40px;
    1588     line-height: 2.5;
    15891586}
    15901587
     1588/* Ensure compact inputs retain alignment */
     1589.wp-core-ui .tablenav input,
     1590.wp-core-ui .tablenav select {
     1591    line-height: normal;
     1592}
     1593
     1594/* Fix small inputs (custom date/time fields) */
     1595input.small-text {
     1596    line-height: normal;
     1597}