A recent update to Google Chrome seems to be causing issues with my WordPress admin menus.
This is happening on all sites, whether in local development or on t
try this for chrome-only
in functions.php:
/* fix glitch on chrome for admin menus */
function chromefix_inline_css() {
wp_add_inline_style('wp-admin', '@media screen and (-webkit-min-device-pixel-ratio:0) { #adminmenu { transform: translateZ(0); } }');
}
add_action('admin_enqueue_scripts', 'chromefix_inline_css');