mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 05:29:43 +02:00
Enhance zip field, change alignment on td
This commit is contained in:
parent
ecafaa58c9
commit
e9895219bb
4 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
||||||
@use "uswds-core" as *;
|
@use "uswds-core" as *;
|
||||||
|
|
||||||
|
td {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
.dotgov-table--stacked {
|
.dotgov-table--stacked {
|
||||||
td, th {
|
td, th {
|
||||||
padding: units(1) units(2) units(2px) 0;
|
padding: units(1) units(2) units(2px) 0;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
{% input_with_errors form.state_territory %}
|
{% input_with_errors form.state_territory %}
|
||||||
|
|
||||||
{% with add_class="usa-input--small" %}
|
{% with add_class="usa-input--small" sublabel_text="Enter a zip code in the required format, like 12345 or 12345-6789." %}
|
||||||
{% input_with_errors form.zipcode %}
|
{% input_with_errors form.zipcode %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
{% input_with_errors forms.0.state_territory %}
|
{% input_with_errors forms.0.state_territory %}
|
||||||
|
|
||||||
{% with add_class="usa-input--small" %}
|
{% with add_class="usa-input--small" sublabel_text="Enter a zip code in the required format, like 12345 or 12345-6789." %}
|
||||||
{% input_with_errors forms.0.zipcode %}
|
{% input_with_errors forms.0.zipcode %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
{% input_with_errors form.address_line2 %}
|
{% input_with_errors form.address_line2 %}
|
||||||
{% input_with_errors form.city %}
|
{% input_with_errors form.city %}
|
||||||
{% input_with_errors form.state_territory %}
|
{% input_with_errors form.state_territory %}
|
||||||
{% with add_class="usa-input--small" %}
|
{% with add_class="usa-input--small" sublabel_text="Enter a zip code in the required format, like 12345 or 12345-6789." %}
|
||||||
{% input_with_errors form.zipcode %}
|
{% input_with_errors form.zipcode %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<button type="submit" class="usa-button">
|
<button type="submit" class="usa-button">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue