Make WordPress Core

Ticket #64382: 64382-pointer-cursor.patch

File 64382-pointer-cursor.patch, 525 bytes (added by manhphucofficial, 2 months ago)

Adds cursor: pointer to the search clear (×) button in the Posts list screen. This improves usability and accessibility by indicating that the element is clickable.

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

    diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css
    index 3fec3b72c3..73de63fb17 100644
    a b input[type="search"]::-webkit-search-decoration { 
    208208        display: none;
    209209}
    210210
     211/* Show pointer cursor on clickable search clear buttons. */
     212.wp-filter .search-input button.clear,
     213.search-box input[type="search"]::-webkit-search-cancel-button {
     214        cursor: pointer;
     215}
     216
    211217.wp-admin input[type="file"] {
    212218        padding: 3px 0;
    213219        cursor: pointer;