[2704] better CSS for long menu items with children

Fixes #2704