Added ellipsis and max-width to tab captions