Fix: Width of gantt chart

This commit is contained in:
Laurent Destailleur 2012-05-07 18:00:53 +02:00
parent 2f081f2bd5
commit 16b1655ad5
5 changed files with 6 additions and 5 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

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

View File

@ -2355,7 +2355,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;
}

View File

@ -2171,7 +2171,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

@ -2382,7 +2382,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;
}