This is an automated email from the git hooks/post-receive script. nthykier pushed a commit to branch master in repository lintian.
commit 2ec626e4fd4719a798adfe003e1f9fb421232c69 Author: Niels Thykier <[email protected]> Date: Sat Feb 21 18:13:59 2015 +0100 r/t/lintian.css: Ensure the graphs always fit the screen Signed-off-by: Niels Thykier <[email protected]> --- reporting/templates/index.tmpl | 2 +- reporting/templates/lintian.css.tmpl | 5 +++++ reporting/templates/tag.tmpl | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/reporting/templates/index.tmpl b/reporting/templates/index.tmpl index 5661b61..fb5182b 100644 --- a/reporting/templates/index.tmpl +++ b/reporting/templates/index.tmpl @@ -99,7 +99,7 @@ $OUT .= qq( <p>\n); $OUT .= qq( Evolution of Lintian tags over the past\n); $OUT .= qq( $graphs_days days:</p>\n); - $OUT .= qq( <div class="graph"><img\n); + $OUT .= qq( <div class="graph"><img class="graph"\n); $OUT .= qq( src="${path_prefix}graphs/statistics.svg" alt="History of Lintian\n); $OUT .= qq( tags" /></div>\n); } diff --git a/reporting/templates/lintian.css.tmpl b/reporting/templates/lintian.css.tmpl index 38d7ca8..af49fff 100644 --- a/reporting/templates/lintian.css.tmpl +++ b/reporting/templates/lintian.css.tmpl @@ -157,6 +157,11 @@ hr { line-height: 1.4em; } +img.graph { + width: 95%; + max-width: 640px; +} + /* Front page */ #logo { diff --git a/reporting/templates/tag.tmpl b/reporting/templates/tag.tmpl index 8d75f4a..36ad00b 100644 --- a/reporting/templates/tag.tmpl +++ b/reporting/templates/tag.tmpl @@ -15,7 +15,7 @@ $OUT .= qq( <p>\n); $OUT .= qq( Evolution of the $tag Lintian tag over the past\n); $OUT .= qq( $graphs_days days:</p>\n); - $OUT .= qq( <div class="graph"><img\n); + $OUT .= qq( <div class="graph"><img class="graph"\n); $OUT .= qq( src="${path_prefix}graphs/tags/$tag.svg" alt="History of $tag"\n); $OUT .= qq( /></div>\n); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

