Fixes #7438: remove max-height from justified nav tabs with some CSS wankery