Make WordPress Core

Changeset 51644


Ignore:
Timestamp:
08/19/2021 05:23:23 PM (5 years ago)
Author:
ryelle
Message:

Toolbar: Limit the icon transition style to color only.

When transition is all, it also applies to the icon size, which can cause a bug in Safari where icons get stuck in the wrong size when resizing the browser window. The only expected animation is on the color property, so the transition can be limited to just color.

Props johnjamesjacoby, sabernhardt, SergeyBiryukov, audrasjb.
Fixes #43423.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/admin-bar.css

    r51456 r51644  
    249249#wpadminbar #adminbarsearch:before {
    250250        position: relative;
    251         transition: all .1s ease-in-out;
     251        transition: color .1s ease-in-out;
    252252}
    253253
Note: See TracChangeset for help on using the changeset viewer.