ic-ui-kit
ic-ui-kit copied to clipboard
[ic-text-field]: character count interferes with validation message on small fields
Summary of the bug
When text fields are resized to have a small width, the remaining space for the character count and validation becomes very small and the two elements interfere with one another.
🪜 How to reproduce
- Create a Text field with a small defined width
- Enter above character limit
- See the error
🧐 Expected behaviour
The validation message and character count should be spaced out nicely
📸 Screenshots or code

Additional info
Explore options to avoid clash between the two elements.
- Stack elements
- Move character count to title line (top right)
- Positioning dependent on width/breakpoint?
The change is to make the validation the same width of the helper text etc
Add visual test
Can I fix this?