Fix: Width of gantt chart

This commit is contained in:
Laurent Destailleur 2012-05-07 18:00:53 +02:00
parent c9a35c4e3a
commit 21d028c064
5 changed files with 8 additions and 7 deletions

View File

@ -228,7 +228,8 @@ if (count($tasksarray)>0)
if (! empty($conf->use_javascript_ajax))
{
print '<div id="tabs" style="border: 1px solid #ACACAC;">'."\n";
//var_dump($_SESSION);
print '<div id="tabs" class="ganttcontainer" style="border: 1px solid #ACACAC;">'."\n";
include_once(DOL_DOCUMENT_ROOT.'/projet/ganttchart.php');
print '</div>'."\n";
}

View File

@ -2061,7 +2061,7 @@ div.tdlineupdown {
/* ============================================================================== */
div.scroll2 {
width: 582px !important;
width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
}
@ -2187,4 +2187,4 @@ div.ecmjqft {
<?php
if (is_object($db)) $db->close();
?>
?>

View File

@ -2315,7 +2315,7 @@ form.listactionsfilter input[type="submit"] {
/* ============================================================================== */
div.scroll2 {
width: 582px !important;
width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
}
@ -2432,4 +2432,4 @@ div.ecmjqft {
<?php
if (is_object($db)) $db->close();
?>
?>

View File

@ -2131,7 +2131,7 @@ div.table-val-border-col {
/* ============================================================================== */
div.scroll2 {
width: 582px !important;
width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
}

View File

@ -2282,7 +2282,7 @@ a.cke_dialog_ui_button
/* ============================================================================== */
div.scroll2 {
width: 582px !important;
width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
}