diff mbox series

ui: Reduce font size of series & delegate columns

Message ID 20190108123834.2225-5-alialnu@mellanox.com
State Rejected
Headers show
Series ui: Reduce font size of series & delegate columns | expand

Commit Message

Ali Alnubani Jan. 8, 2019, 12:38 p.m. UTC
From: Thomas Monjalon <thomas@monjalon.net>

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

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

Patch

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 %}