]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
ui: Higher density of patches
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 29 Mar 2016 12:37:00 +0000 (13:37 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 1 Apr 2016 12:19:33 +0000 (13:19 +0100)
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 <stephen.finucane@intel.com>
htdocs/css/style.css
patchwork/templates/patchwork/patch-list.html

index e5c6600e7e78ae25e7de3b7b7a7876aeb34288b7..0ec11e0e37e10fd5cd269848d7b7dd5b8850939f 100644 (file)
@@ -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;
index afa36210ec845515784293f6267885bdd9b20df0..37eab867c525d9b2938b82c946eeb3d24dece641 100644 (file)
@@ -55,7 +55,7 @@ $(document).ready(function() {
 {% csrf_token %}
 <input type="hidden" name="form" value="patchlistform"/>
 <input type="hidden" name="project" value="{{project.id}}"/>
-<table id="patchlist" class="table table-hover table-condensed pw-list"
+<table id="patchlist" class="table table-hover table-extra-condensed table-striped pw-list"
        data-toggle="checkboxes" data-range="true">
  <thead>
   <tr>