From: Stephen Finucane Date: Tue, 29 Mar 2016 12:37:00 +0000 (+0100) Subject: ui: Higher density of patches X-Git-Tag: v2.0.0-rc1~378 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db1248609f5a19fef93a393d911450b3b1813f24;p=thirdparty%2Fpatchwork.git ui: Higher density of patches THe Bootstrap'ification of Patchwork signficantly reduced the information density of the patch list page, but this results in less patches per page. Resolve this by reducing the padding on each row. Signed-off-by: Stephen Finucane --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index e5c6600e..0ec11e0e 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -410,6 +410,17 @@ table.horizontal td, table.horizontal th { table.vertical { border-collapse: collapse; } + +/* per suggestions here: https://github.com/twbs/bootstrap/issues/12238 */ +.table-extra-condensed > thead > tr > th, +.table-extra-condensed > tbody > tr > th, +.table-extra-condensed > tfoot > tr > th, +.table-extra-condensed > thead > tr > td, +.table-extra-condensed > tbody > tr > td, +.table-extra-condensed > tfoot > tr > td { + padding: 2px; +} + table.vertical th { background: #222; color: #999; diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index afa36210..37eab867 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -55,7 +55,7 @@ $(document).ready(function() { {% csrf_token %} -