Adding ellipsis to dropdown menu when the text is larger than the dropdown width.