Form row wide for email

Remove arbitrary widths. Closes #17288
This commit is contained in:
Mike Jolley 2017-10-20 16:15:48 -07:00
parent 164f77add4
commit f90c7bfc26
1 changed files with 2 additions and 2 deletions

View File

@ -1149,7 +1149,7 @@ class WC_Countries {
'label' => __( 'Phone', 'woocommerce' ),
'required' => true,
'type' => 'tel',
'class' => array( 'form-row-first' ),
'class' => array( 'form-row-wide' ),
'validate' => array( 'phone' ),
'autocomplete' => 'tel',
'priority' => 100,
@ -1158,7 +1158,7 @@ class WC_Countries {
'label' => __( 'Email address', 'woocommerce' ),
'required' => true,
'type' => 'email',
'class' => array( 'form-row-last' ),
'class' => array( 'form-row-wide' ),
'validate' => array( 'email' ),
'autocomplete' => 'no' === get_option( 'woocommerce_registration_generate_username' ) ? 'email' : 'email username',
'priority' => 110,