set max-width for tab