Trim space after caret on mobile