Change the style of tab menus,make them can auto adapt the width of the inner text.