Fix the variation of text width in the navbar