fixes #7432 - ensure btn with dropdowns do not span across lines.