[PATCH] ui: Reduce font size of series & delegate columns

Ali Alnubani alialnu at mellanox.com
Tue Jan 8 23:38:46 AEDT 2019


From: Thomas Monjalon <thomas at monjalon.net>

Series and Delegate columns are less important,
and so can be smaller.

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Signed-off-by: Ali Alnubani <alialnu at mellanox.com>
---
 htdocs/css/style.css                                   | 4 ++++
 patchwork/templates/patchwork/partials/patch-list.html | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 5bcdefa..6b2a80a 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -460,6 +460,10 @@ td.numberformat {
 	text-align: right;
 }
 
+td.series, td.delegate {
+	font-size: 85%;
+}
+
 /* boxes */
 div.box {
 	border: thin solid #080808;
diff --git a/patchwork/templates/patchwork/partials/patch-list.html b/patchwork/templates/patchwork/partials/patch-list.html
index 2d090d9..08df4e3 100644
--- a/patchwork/templates/patchwork/partials/patch-list.html
+++ b/patchwork/templates/patchwork/partials/patch-list.html
@@ -193,7 +193,7 @@ $(document).ready(function() {
      {{ patch.name|default:"[no subject]"|truncatechars:100 }}
     </a>
    </td>
-   <td>
+   <td class="series">
     {% if patch.series %}
     <a href="?series={{patch.series.id}}">
      {{ patch.series|truncatechars:100 }}
@@ -204,7 +204,7 @@ $(document).ready(function() {
    <td class="text-nowrap">{{ patch|patch_checks }}</td>
    <td class="text-nowrap">{{ patch.date|date:"Y-m-d" }}</td>
    <td>{{ patch.submitter|personify:project }}</td>
-   <td>{{ patch.delegate.username }}</td>
+   <td class="delegate">{{ patch.delegate.username }}</td>
    <td>{{ patch.state }}</td>
   </tr>
  {% empty %}
-- 
2.11.0



More information about the Patchwork mailing list