Skip to content

Commit

Permalink
Prevent plugin icon jumping when admin menu is folding
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Aug 22, 2024
1 parent b8b34f3 commit 99e6d80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public static function admin_nav_style() {
echo 'ul#adminmenu a.toplevel_page_bluehost.wp-has-current-submenu:after, ul#adminmenu>li#toplevel_page_bluehost.current>a.current:after { border-right-color: #fff !important; }';
echo 'li#toplevel_page_bluehost > ul > li.wp-first-item { display: none !important; }';
echo '#wp-toolbar #wp-admin-bar-bluehost-coming_soon .ab-item { padding: 0; }';
echo 'body.folded #adminmenu .toplevel_page_bluehost div.wp-menu-image { width: 36px; height: 34px; }';
echo '</style>';
}

Expand Down

0 comments on commit 99e6d80

Please sign in to comment.