limit style to text input