diff --git a/htdocs/cacher/cacher.css b/htdocs/cacher/cacher.css index 45d1fd4..16f87a7 100644 --- a/htdocs/cacher/cacher.css +++ b/htdocs/cacher/cacher.css @@ -7,13 +7,13 @@ td, th { white-space: pre; } .blocksgraph { height: 13px; } .blocksgraph div { float: left; height: 3px; width: 4px; border: 0 solid gray; border-width: 0 0 1px 0; } .blocksgraph { border: 1px solid gray; border-bottom: 0; } -.percent *, .blocksgraph *, .hitsgraph * { font-size: 1px; font-height: 1px; } +.percent *, .blocksgraph *, .hitsgraph * { font-size: 1px; line-height: 1px; } .hitsgraph { margin: auto; } -.hitsgraph a { float: left; border: 0 solid gray; } +.hitsgraph a { display: block; float: left; border: 0 solid gray; } +.hitsgraph a * { display: block; } .hitsgraph a.active { border-top-color: yellow; } .hitsgraph a:hover { background: gray; } -.hitsgraph a div { float: none; } dl { overflow: hidden; } dt { font-weight: bold; clear: both; float: left; width: 100px; text-align: right; margin: 0; } diff --git a/htdocs/cacher/index.php b/htdocs/cacher/index.php index 5ed142c..8d316dc 100644 --- a/htdocs/cacher/index.php +++ b/htdocs/cacher/index.php @@ -91,8 +91,8 @@ function bar_hits_percent($v, $percent, $active) // {{{ $valueHeight = $valueHeight ? $valueHeight . "px" : 0; $paddingHeight = $paddingHeight ? $paddingHeight . "px" : 0; return '' - . ($paddingHeight ? '
' : '') - . ($valueHeight ? '
' : '') + . ($paddingHeight ? '' : '') + . ($valueHeight ? '' : '') . '
'; } // }}} diff --git a/htdocs/common/header.tpl.php b/htdocs/common/header.tpl.php index 9d104d5..f3af524 100644 --- a/htdocs/common/header.tpl.php +++ b/htdocs/common/header.tpl.php @@ -1,7 +1,6 @@ -