CSS changes to .menu .leaf affect main-menu AND admin shortcut menu in Drupal 7
You need to make your CSS more specific so that it only applies to menu items on your main menu. You can do this by prefixing the CSS rule with the class of its container e.g.

.block--system-main-menu .menu .leaf. {
    width: 30px;
}