From 4583801bc6282e9eacbf00fe68aba886c78cd4bc Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Thu, 19 Aug 2021 17:23:23 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@51644 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/admin-bar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index cfbf442a9d..3788753e8c 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -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 {