mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-16 06:11:00 +01:00
[MINOR] stats/html: use the arial font before helvetica
The stats HTML output were barely readable on some browsers such as firefox on Linux, due to the selected helvetica font which is too small. Specifying "arial" first fixes the issue without changing the table size. Also, the default size of 0.8em choosen to get 10px out of 12px is wrong because it gets 9px when rounded down. (cherry picked from commit a94f2d2ef944e3f54f50e938ff3c8de1a021f7ff)
This commit is contained in:
parent
ac053933b3
commit
abfb7bdaca
@ -351,14 +351,14 @@ int stats_dump_http(struct session *s, struct uri_auth *uri)
|
||||
"<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">\n"
|
||||
"<style type=\"text/css\"><!--\n"
|
||||
"body {"
|
||||
" font-family: helvetica, arial;"
|
||||
" font-family: arial, helvetica, sans-serif;"
|
||||
" font-size: 12px;"
|
||||
" font-weight: normal;"
|
||||
" color: black;"
|
||||
" background: white;"
|
||||
"}\n"
|
||||
"th,td {"
|
||||
" font-size: 0.8em;"
|
||||
" font-size: 10px;"
|
||||
" align: center;"
|
||||
"}\n"
|
||||
"h1 {"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user