materialize
materialize copied to clipboard
Helper text improvement for user input errors
Current Behavior
class helper-text is followed by a margin of input
- input[****]:not(.browser-default) { margin: 0 0 8px 0;}
Expected Behavior
Possible Solution
reducing default 8px bottom margin of input tag when helper-text class is used to 4px as given in guidlines.
Environment
Version used: 1.0.0-alpha.3 Browser Name and version: Google Chrome Version 63.0.3239.132 (Official Build) (64-bit) Operating System: Windows 10 pro (64-bit)
I'm not sure whether or not this should be a separate issue, but it also looks funny when a prefix icon is used:
https://jsbin.com/bugavi/edit?html,output

In my project I am working around this with:
i.prefix ~ span.helper-text {
margin-left: 3rem;
}