Added max-width and ellipsis to tab captions