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 .



git-svn-id: https://develop.svn.wordpress.org/trunk@51644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Kelly Choyce-Dwan 2021-08-19 17:23:23 +00:00
parent 0778740cb4
commit 4583801bc6

@ -248,7 +248,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar .ab-item:before,
#wpadminbar #adminbarsearch:before {
position: relative;
transition: all .1s ease-in-out;
transition: color .1s ease-in-out;
}
#wpadminbar .ab-label {