From: Willy Tarreau Date: Mon, 16 Dec 2013 08:00:35 +0000 (+0100) Subject: MINOR: stats: don't use a monospace font to report numbers X-Git-Tag: v1.5-dev21~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b9d3a8a5b4c1a494fc591ff9eef5d00b1a7e012;p=thirdparty%2Fhaproxy.git MINOR: stats: don't use a monospace font to report numbers On several browsers, the monospace font used to display numbers in tips is not much readable. Since the numbers are aligned anyway, there is too little benefit in using such a font. --- diff --git a/src/dumpstats.c b/src/dumpstats.c index d39da4143f..937fe7fc54 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -3568,7 +3568,7 @@ static void stats_dump_html_head(struct uri_auth *uri) "table.lgd td.noborder { border-style: none; padding: 2px; white-space: nowrap;}\n" "table.det { border-collapse: collapse; border-style: none; }\n" "table.det th { text-align: left; border-width: 0px; padding: 0px 1px 0px 0px; font-style:normal;font-size:11px;font-weight:bold;font-family: sans-serif;}\n" - "table.det td { text-align: right; border-width: 0px; padding: 0px 0px 0px 4px; white-space: nowrap; font-style:normal;font-size:11px;font-weight:normal;font-family: monospace;}\n" + "table.det td { text-align: right; border-width: 0px; padding: 0px 0px 0px 4px; white-space: nowrap; font-style:normal;font-size:11px;font-weight:normal;}\n" "u {text-decoration:none; border-bottom: 1px dotted black;}\n" "div.tips {\n" " display:block;\n"