tab label line wrap when the page width is too small to show all the text

on help article pages, we had a problem the tab labels not showing all the text if on mobile or smaller screen.
just changed a bit of stylesheet so it can line wrap if the text overflows.