Fixed the huge space between legend elements on the pie graphs. Ticket #3785
(cherry picked from commit 679b0c6749
)
This commit is contained in:
parent
a8f773dab4
commit
d68129f830
|
@ -2540,6 +2540,11 @@ div.legend>div {
|
||||||
opacity: 0.65 !important;
|
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 {
|
div.nodata_text {
|
||||||
padding: 5px 12px 0px 68px;
|
padding: 5px 12px 0px 68px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -206,13 +206,13 @@ $out = '<table cellpadding=0 cellspacing=0 class="databox pies" style="margin-t
|
||||||
<legend>' .
|
<legend>' .
|
||||||
__('Event graph') .
|
__('Event graph') .
|
||||||
'</legend>' .
|
'</legend>' .
|
||||||
grafico_eventos_total("", 250, 150, false) . '</fieldset>';
|
grafico_eventos_total("", 280, 150, false) . '</fieldset>';
|
||||||
$out .="</td><td>";
|
$out .="</td><td>";
|
||||||
$out .= '<fieldset class="databox tactical_set">
|
$out .= '<fieldset class="databox tactical_set">
|
||||||
<legend>' .
|
<legend>' .
|
||||||
__('Event graph by agent') .
|
__('Event graph by agent') .
|
||||||
'</legend>' .
|
'</legend>' .
|
||||||
grafico_eventos_grupo(250, 170, "", false, false, false) . '</fieldset>';
|
grafico_eventos_grupo(280, 150, "", false, false, false) . '</fieldset>';
|
||||||
$out .= '</td></tr></table>';
|
$out .= '</td></tr></table>';
|
||||||
echo $out;
|
echo $out;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue