From cfd901631e57f7184e96c132817cbb4de0fd7929 Mon Sep 17 00:00:00 2001
From: Frank Lichtenheld
Date: Sun, 9 Sep 2007 14:28:55 +0200
Subject: [PATCH] html/show.tmpl: Improve the dependency legend
Suggested by MJ Ray
Directly imitate the dependency listing in the legend
by using
inside the table cells. This makes the
legend autoadjust to any changes in the CSS for the dependency
listing and mirrors the appearance completly.
---
static/packages.css.sed.in | 4 ++++
templates/html/show.tmpl | 10 +++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/static/packages.css.sed.in b/static/packages.css.sed.in
index bf44d3d..9e09dd8 100644
--- a/static/packages.css.sed.in
+++ b/static/packages.css.sed.in
@@ -84,6 +84,10 @@ h1 {
list-style-type: none;
}
+#pdeps table ul {
+ margin: 0;
+}
+
#pdeps ul.uldep, #pdeps ul.uladep {
list-style-type: disc;
list-style-image: url(http://%SITE%/Pics/dep.gif);
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 7c7dd17..1d9f655 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -219,12 +219,12 @@ Do not install it on a normal Debian system.