From daec01eba0c187a09cfb92de4d7473ec31d969d5 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 12 Jun 2019 15:58:35 -0400 Subject: [PATCH] Format LOA fields --- styles/sections/_task_order.scss | 19 ++++++++++++++++++ templates/task_orders/edit.html | 34 +++++++++++++++++++++++--------- 2 files changed, 44 insertions(+), 9 deletions(-) diff --git a/styles/sections/_task_order.scss b/styles/sections/_task_order.scss index e9fcc9b8..9b84e463 100644 --- a/styles/sections/_task_order.scss +++ b/styles/sections/_task_order.scss @@ -77,6 +77,25 @@ .usa-alert { margin: 1.5em 0; } + + .task-order__loa-fieldset { + .usa-input { + margin: 0; + } + + input { + margin: $gap 0; + max-width: unset; + } + + input:first-child { + margin-top: 0; + } + + input:last-child { + margin-bottom: 0; + } + } } .row.row__form-fields { diff --git a/templates/task_orders/edit.html b/templates/task_orders/edit.html index 6e0c9007..3bcf58f3 100644 --- a/templates/task_orders/edit.html +++ b/templates/task_orders/edit.html @@ -13,8 +13,7 @@ {% macro LOAInput() %}
-
- +
-
Line of accounting (43 characters)
- {% for loa in fields.loas %} - {{ TextInput(loa, showLabel=False) }} - {% endfor %} +
+
+ +
+ Line of accounting (43 characters) +
+
+ {% for loa in fields.loas %} + {{ TextInput(loa, showLabel=False) }} + {% endfor %} + + {{ LOAInput() }} +
+
- {{ LOAInput() }} {{ DatePicker(fields.start_date) }} {{ DatePicker(fields.end_date) }} {{ TextInput(fields.obligated_amount, validation='dollars') }} @@ -190,8 +198,16 @@
-
Line of accounting (43 characters)
- {{ LOAInput() }} +
+
+ +
+ Line of accounting (43 characters) +
+
+ {{ LOAInput() }} +
+