updated text input to display in div with word wrap