[dir share popup] fixed ui problem for languages with long words