diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index efe70d644..7e6f0c8f8 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -1,5 +1,6 @@ .table { margin-bottom: $gutter; + width: 100%; } .table-heading { @@ -13,6 +14,16 @@ } } +.table-row { + th { + width: 52.5%; + + a { + max-height: 1.25em; + } + } +} + %table-field, .table-field { @@ -77,6 +88,10 @@ width: 15px; } + &-date { + white-space: nowrap; + } + p { margin: 0 0 5px 0; } diff --git a/app/assets/stylesheets/views/dashboard.scss b/app/assets/stylesheets/views/dashboard.scss index 1f4d2022e..04c2cc622 100644 --- a/app/assets/stylesheets/views/dashboard.scss +++ b/app/assets/stylesheets/views/dashboard.scss @@ -3,8 +3,7 @@ table { th { @include core-16; - padding-top: 0; - border: 0; + border-bottom: 0; } td { diff --git a/app/templates/components/table.html b/app/templates/components/table.html index 5f96508ce..95ba0264f 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -55,12 +55,24 @@ {%- endmacro %} +{% macro row_heading() -%} +
{% if item.job %} - From {{ item.job.original_file_name }} + From {{ item.job.original_file_name }} {% else %} - {{ item.template.name }} + {{ item.template.name }} from an API call {% endif %}