Apply max width to all input elements.
Update form class with better name and add form-conrainer--narrow class.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user