Refactored menu-item component to fix attribute alignment.