Fix header layout

This commit is contained in:
leigh-mil 2019-09-03 13:45:03 -04:00
parent 90b84a1ffe
commit 1b6a3ca644
2 changed files with 16 additions and 15 deletions

View File

@ -50,6 +50,13 @@
}
}
&__header {
.h2,
p {
margin-bottom: $gap * 0.5;
}
}
.col {
flex-grow: 1;
}

View File

@ -1,21 +1,15 @@
{% macro TOFormStepHeader(title, description, to_number=None) %}
<div class="column">
<div class="form-row">
<div class="form-col form-col--two-thirds">
<div class="task-order__header">
<div class="h2">
{{ title }}
</div>
</div>
<div class="form-col form-col--third task-order__number">
{% if to_number %}
<p>
<strong>Task Order Number:</strong> {{ to_number }}
</p>
{% endif %}
</div>
</div>
<div class="form-row">
<p>
{{ description }}
</p>
</div>
</div>
{% endmacro %}