modal class for text length adjustment