The admin_menu_toolbar shortcuts toolbar has unaligned links that triggers my OCD.


As you see top padding is bigger than bottom by couple pixels. It's caused by modules/system/system.menus.css:

li.expanded, li.collapsed, li.leaf {
  padding: 0.2em 0.5em 0 0;

This problem does not appear on default Drupal installation stock module Toolbar and icons appear to be aligned correctly, because the system.menus.css rule is overwritten by modules/toolbar/toolbar.css:

#toolbar, #toolbar * {
  padding: 0;

Which is why we have this problem in admin_menu because Toolbar is disabled and no more toolbar.css rules.

This is with admin_menu disabled, with system toolbar (aligned as should be, also with bright white text color, which is changed to duller version in admin_menu for some reason):

Also another: All the links on admin menu and shortcuts menu when you hover has round borders background with no underline, but the Edit shortcuts button is underline text with no background, why?

Anyway cheers!

Members fund testing for the Drupal project. Drupal Association Learn more


vibrasphere created an issue.