[Reproducible-commits] [debbindiff] 03/05: Improve default CSS to keep tables from overflowing

Jérémy Bobbio lunar at moszumanska.debian.org
Sun Nov 9 11:41:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository debbindiff.

commit eeaf03e133476902a4b470d40b6768fcc3f9dd7d
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sun Nov 9 12:24:53 2014 +0100

    Improve default CSS to keep tables from overflowing
---
 debbindiff/presenters/html.py | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/debbindiff/presenters/html.py b/debbindiff/presenters/html.py
index 0cf0fea..2badede 100644
--- a/debbindiff/presenters/html.py
+++ b/debbindiff/presenters/html.py
@@ -47,6 +47,17 @@ HEADER = """
       padding: 0.5em;
       margin: 0.5em 0;
     }
+    .difference table {
+      table-layout: fixed;
+      width: 100%%;
+    }
+    .difference th,
+    .difference td {
+      width: 50%%;
+    }
+    .difference td div {
+      overflow: auto;
+    }
     .comment {
       font-style: italic;
     }
@@ -59,9 +70,6 @@ HEADER = """
       color: white;
       padding: 0.2em;
     }
-    table.diff {
-      font-size: 10pt;
-    }
     .lnr {
       background-color: #ccc;
       color: #666;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list