From db1248609f5a19fef93a393d911450b3b1813f24 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 29 Mar 2016 13:37:00 +0100 Subject: [PATCH] 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 --- htdocs/css/style.css | 11 +++++++++++ patchwork/templates/patchwork/patch-list.html | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) 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 %} - -- 2.47.3