Fix validation icons

This commit is contained in:
leigh-mil 2019-06-12 14:11:55 -04:00
parent db58c64a89
commit 0826b0b1aa
2 changed files with 15 additions and 3 deletions

View File

@ -125,10 +125,22 @@
background-color: $color-gray-lightest; background-color: $color-gray-lightest;
} }
.task-order__form { &.task_order__form {
.totals-box { .totals-box {
margin-top: 0; margin-top: 0;
} }
.icon {
left: 100%;
}
.usa-input--validation--dollars input {
max-width: unset;
}
.usa-form-group-year {
margin-right: 0.4rem;
}
} }
.row.row__form-fields { .row.row__form-fields {

View File

@ -91,7 +91,7 @@
{% set action = url_for("task_orders.update", portfolio_id=portfolio.id) %} {% set action = url_for("task_orders.update", portfolio_id=portfolio.id) %}
{% set review_action = url_for("task_orders.update", portfolio_id=portfolio.id, review=True) %} {% set review_action = url_for("task_orders.update", portfolio_id=portfolio.id, review=True) %}
{% endif %} {% endif %}
<form id="new-task-order" class="task_order__form" action='{{ action }}' method="POST" autocomplete="off" enctype="multipart/form-data"> <form id="new-task-order" action='{{ action }}' method="POST" autocomplete="off" enctype="multipart/form-data">
{{ form.csrf_token }} {{ form.csrf_token }}
{% call StickyCTA(text="Add Funding") %} {% call StickyCTA(text="Add Funding") %}
@ -107,7 +107,7 @@
{% endcall %} {% endcall %}
<to-form inline-template v-bind:initial-clin-count="{{ form.clins.data | length }}"> <to-form inline-template v-bind:initial-clin-count="{{ form.clins.data | length }}">
<div class="task-order"> <div class="task-order task_order__form">
{% include "fragments/flash.html" %} {% include "fragments/flash.html" %}
{{ SemiCollapsibleText(paragraph="task_orders.new.form_help_text" | translate) }} {{ SemiCollapsibleText(paragraph="task_orders.new.form_help_text" | translate) }}