From 6b9d3a8a5b4c1a494fc591ff9eef5d00b1a7e012 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 16 Dec 2013 09:00:35 +0100 Subject: [PATCH] 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. --- src/dumpstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"