First:
This happens when using custom icons for custom post types, as described here: https://develop.serialdesigngroup.com/code/custom-post-type-admin-icons.
I’ve added the following to the css file for my WP admin:
.icon16.icon-post:before,
#adminmenu .menu-icon-post div.wp-menu-image:before {
content: "" !important;
}
Note that this requires you to set icons for every custom post type, as this removes the default icon for custom post types.
Second:
The sub menu has a fixed width, which causes item labels that have long names to break out of the blue box. This can also be fixed using css:
#adminmenu .wp-submenu li a {
overflow: hidden;
text-overflow: ellipsis;
}
I’ve added the following javascript to add a tooltip containing the full item label’s text:
;!function ($) {
"use strict";
$(function () {
$("#adminmenu .wp-submenu li a").each(function (index, element) {
$(this).attr("title", this.innerText);
});
});
} (jQuery);
Good luck!