Apply max width to all input elements.

Update form class with better name and add form-conrainer--narrow class.
This commit is contained in:
leigh-mil
2020-02-17 11:05:43 -05:00
parent bd14955a6a
commit 2665094136
10 changed files with 18 additions and 17 deletions

View File

@@ -22,8 +22,9 @@
}
.usa-input {
input {
max-width: none;
input,
textarea {
max-width: $max-input-width;
}
}
}
@@ -204,6 +205,10 @@
}
}
.form-container__half {
max-width: 46rem;
.form-container {
margin-bottom: $action-footer-height + $large-spacing;
&--narrow {
max-width: $max-input-width;
}
}