From: Thomas Monjalon Date: Thu, 8 Sep 2016 21:20:32 +0000 (+0200) Subject: ui: Shrink vertical space X-Git-Tag: v2.0.0-rc1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0dae9bac11644bd98c60e7c817f5047b8440d08;p=thirdparty%2Fpatchwork.git ui: Shrink vertical space Reduce some vertical padding/margin and remove some useless titles in list.html and patch.html. Signed-off-by: Thomas Monjalon Reviewed-by: Stephen Finucane --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index a84f03c1..0bf4b430 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -91,8 +91,8 @@ dl dt { .filters { border: 1px solid #cccccc; border-radius: 4px; - padding: 10px 20px; - margin-bottom: 20px; + padding: 5px 20px; + margin: 15px 0; } a.filter-action { @@ -119,7 +119,7 @@ div.filters { } div.patchforms { - margin-top: 2em; + margin-top: 1em; } /* list order manipulation */ @@ -145,7 +145,7 @@ input#reorder-change { .paginator { text-align: right; clear: both; - margin: 8px 0 20px; + margin: 8px 0 15px; } .paginator .prev-na, @@ -184,7 +184,7 @@ table.patchmeta th { table.patchmeta tr th, table.patchmeta tr td { text-align: left; - padding: 3px 10px 3px 10px; + padding: 1px 10px; vertical-align: middle; } diff --git a/patchwork/templates/patchwork/list.html b/patchwork/templates/patchwork/list.html index 9fec773c..180c5607 100644 --- a/patchwork/templates/patchwork/list.html +++ b/patchwork/templates/patchwork/list.html @@ -8,8 +8,6 @@ {% block body %} -

Patches

- {% if errors %}

The following error{{ errors|length|pluralize:" was,s were" }} encountered while updating patches:

diff --git a/patchwork/templates/patchwork/submission.html b/patchwork/templates/patchwork/submission.html index 088cceb3..dc3d4056 100644 --- a/patchwork/templates/patchwork/submission.html +++ b/patchwork/templates/patchwork/submission.html @@ -28,11 +28,6 @@ function toggle_headers(link_id, headers_id)

{{ submission.name }}

-
- Submitted by {{ submission.submitter|personify:project }} on {{ submission.date }} -
- -

Details