Open dbischof opened 3 years ago
Now that input[type="tel"] fields are becoming more common, ideally they would be styled the same as similar fields (namely in height & padding).
input[type="tel"]
This can be achieved with adding a line to /grappelli_safe/static/grappelli/css/forms.css:
/grappelli_safe/static/grappelli/css/forms.css
/* Text inputs ................................................... */ input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="tel"], /* Add this line */ input[type="number"] { padding: 5px 3px 4px; height: 14px; }
Thanks! Would you like to submit the change as a PR?
Now that
input[type="tel"]
fields are becoming more common, ideally they would be styled the same as similar fields (namely in height & padding).This can be achieved with adding a line to
/grappelli_safe/static/grappelli/css/forms.css
: