Adjust the margin around usa-input elements globally, fix any styling side effects from the change

This commit is contained in:
leigh-mil
2019-10-10 12:49:33 -04:00
parent a6e7995a85
commit 14ea3cd973
5 changed files with 16 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
{% from "components/text_input.html" import TextInput %}
{% macro PhoneInput(phone_number, phone_ext, placeholder_phone="", phone_optional=True, extension_optional=True) %}
<div class='phone-input'>
<div class='usa-input phone-input'>
<div class='phone-input__phone'>
{{ TextInput(phone_number, placeholder=placeholder_phone, validation='usPhone', optional=phone_optional) }}
</div>