add max-width to directLink input to prevent overflow