Make WordPress Core

Changeset 62191


Ignore:
Timestamp:
04/01/2026 09:18:43 AM (6 months ago)
Author:
wildworks
Message:

Admin Reskin: Change color picker height to match new design system.

Update min-height from 30px to 32px for the color picker button and related elements to match new design system.

Props audrasjb, hmbashar, huzaifaalmesbah, joedolson, juanmaguitar, mukesh27, noruzzaman, ozgursar, rahultank, rcorrales, sajib1223, tusharaddweb, vgnavada, wildworks.

Fixes #64761.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/color-picker.css

    r62171 r62191  
    1111/* Needs higher specificity to override `.wp-core-ui .button`. */
    1212.wp-picker-container .wp-color-result.button {
    13         min-height: 30px;
     13        min-height: 32px;
    1414        margin: 0 6px 6px 0;
    1515        padding: 0 0 0 30px;
    … …  
    2323        color: #50575e;
    2424        display: block;
    25         line-height: 2.54545455; /* 28px */
     25        line-height: 2.72727273; /* 30px */
    2626        padding: 0 6px;
    2727        text-align: center;
    … …  
    7777        margin-left: 6px;
    7878        padding: 0 8px;
    79         line-height: 2.54545455; /* 28px */
    80         min-height: 30px;
     79        line-height: 2.72727273; /* 30px */
     80        min-height: 32px;
    8181}
    8282
    … …  
    9898        padding: 0 5px;
    9999        vertical-align: top;
    100         min-height: 30px;
     100        min-height: 32px;
    101101}
    102102
Note: See TracChangeset for help on using the changeset viewer.