mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
table width, alignment tweaks
This commit is contained in:
parent
a1e6c74a70
commit
958b68a504
2 changed files with 8 additions and 4 deletions
|
@ -289,3 +289,7 @@ Fit-content itself does not work.
|
||||||
width: 3%;
|
width: 3%;
|
||||||
padding-right: 0px !important;
|
padding-right: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.width-40p {
|
||||||
|
width: 40%;
|
||||||
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
{# this is right after the messages block in the parent template #}
|
{# this is right after the messages block in the parent template #}
|
||||||
{% if formset.total_form_count >= formset.max_num %}
|
{% if formset.total_form_count >= formset.max_num %}
|
||||||
<div class="usa-alert usa-alert--info usa-alert--slim">
|
<div class="usa-alert usa-alert--info usa-alert--slim" role="alert">
|
||||||
<div class="usa-alert__body">
|
<div class="usa-alert__body">
|
||||||
<p class="usa-alert__text">
|
<p class="usa-alert__text">
|
||||||
You’ve reached the maximum amount of allowed name server records (13).
|
You’ve reached the maximum amount of allowed name server records (13).
|
||||||
|
@ -193,19 +193,19 @@
|
||||||
</tr>
|
</tr>
|
||||||
<!-- Edit row -->
|
<!-- Edit row -->
|
||||||
<tr class="edit-row display-none">
|
<tr class="edit-row display-none">
|
||||||
<td>
|
<td class="text-bottom">
|
||||||
{% with sublabel_text="Example: ns"|concat:forloop.counter|concat:".example.com" %}
|
{% with sublabel_text="Example: ns"|concat:forloop.counter|concat:".example.com" %}
|
||||||
{% with attr_required=True add_initial_value_attr=True span_for_text=True add_group_class="margin-top-0" %}
|
{% with attr_required=True add_initial_value_attr=True span_for_text=True add_group_class="margin-top-0" %}
|
||||||
{% input_with_errors form.server %}
|
{% input_with_errors form.server %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="text-bottom width-40p">
|
||||||
{% with attr_required=True add_initial_value_attr=True label_text=form.ip.label sublabel_text="Example: 86.124.49.54 or 2001:db8::1234:5678" add_aria_label="Name server "|concat:forloop.counter|concat:" "|concat:form.ip.label add_group_class="margin-top-0" %}
|
{% with attr_required=True add_initial_value_attr=True label_text=form.ip.label sublabel_text="Example: 86.124.49.54 or 2001:db8::1234:5678" add_aria_label="Name server "|concat:forloop.counter|concat:" "|concat:form.ip.label add_group_class="margin-top-0" %}
|
||||||
{% input_with_errors form.ip %}
|
{% input_with_errors form.ip %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</td>
|
</td>
|
||||||
<td class="padding-right-0">
|
<td class="padding-right-0 text-bottom">
|
||||||
<button class="usa-button usa-button--unstyled display-block margin-top-1" type="submit">Save</button>
|
<button class="usa-button usa-button--unstyled display-block margin-top-1" type="submit">Save</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue