Fixed the huge space between legend elements on the pie graphs. Ticket #3785

(cherry picked from commit 679b0c6749)
This commit is contained in:
Alejandro Gallardo Escobar 2016-06-07 13:10:08 +02:00
parent a8f773dab4
commit d68129f830
2 changed files with 7 additions and 2 deletions

View File

@ -2540,6 +2540,11 @@ div.legend>div {
opacity: 0.65 !important;
}
/* Recover the padding of the legend elements under a databox parent */
table.databox div.legend td {
padding: 1px;
}
div.nodata_text {
padding: 5px 12px 0px 68px;
font-weight: bold;

View File

@ -206,13 +206,13 @@ $out = '<table cellpadding=0 cellspacing=0 class="databox pies" style="margin-t
<legend>' .
__('Event graph') .
'</legend>' .
grafico_eventos_total("", 250, 150, false) . '</fieldset>';
grafico_eventos_total("", 280, 150, false) . '</fieldset>';
$out .="</td><td>";
$out .= '<fieldset class="databox tactical_set">
<legend>' .
__('Event graph by agent') .
'</legend>' .
grafico_eventos_grupo(250, 170, "", false, false, false) . '</fieldset>';
grafico_eventos_grupo(280, 150, "", false, false, false) . '</fieldset>';
$out .= '</td></tr></table>';
echo $out;