mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 12:59:48 -04:00
Make things line up on the usage page
The mixture of three column/two column layouts on this page has always looked a bit disjointed. And since the left column will only even contain the names of months, which are short, it doesn’t need a full half of the page width.
This commit is contained in:
@@ -98,6 +98,20 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.usage-table {
|
||||||
|
|
||||||
|
.table-field-heading-first {
|
||||||
|
width: 35%; // 33.33% + fudge
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-row {
|
||||||
|
th {
|
||||||
|
width: 17.5% // 16.67% + fudge
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
%table-field,
|
%table-field,
|
||||||
.table-field {
|
.table-field {
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if months %}
|
{% if months %}
|
||||||
<div class="dashboard-table body-copy-table">
|
<div class="dashboard-table usage-table body-copy-table">
|
||||||
{% call(month, row_index) list_table(
|
{% call(month, row_index) list_table(
|
||||||
months,
|
months,
|
||||||
caption="Total spend",
|
caption="Total spend",
|
||||||
@@ -124,12 +124,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid-row">
|
<div class="grid-row">
|
||||||
<div class="column-half">
|
<div class="column-one-third">
|
||||||
<p class="align-with-heading-copy">
|
<p class="align-with-heading-copy">
|
||||||
Financial year ends 31 March.
|
Financial year ends 31 March
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="column-half">
|
<div class="column-two-thirds">
|
||||||
<p class="align-with-heading-copy">
|
<p class="align-with-heading-copy">
|
||||||
What counts as 1 text message?<br />
|
What counts as 1 text message?<br />
|
||||||
See <a href="{{ url_for('.pricing') }}">pricing</a>.
|
See <a href="{{ url_for('.pricing') }}">pricing</a>.
|
||||||
|
|||||||
Reference in New Issue
Block a user