Fix responsive

This commit is contained in:
Laurent Destailleur 2022-01-15 13:08:15 +01:00
parent 8cb5264928
commit 2b19bcef54
3 changed files with 18 additions and 9 deletions

View File

@ -679,22 +679,23 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
// Title of task
if (count($arrayfields) > 0 && !empty($arrayfields['t.label']['checked'])) {
print '<td>';
$labeltoshow = '';
if ($showlineingray) {
print '<i>';
$labeltoshow .= '<i>';
}
//else print '<a href="'.DOL_URL_ROOT.'/projet/tasks/task.php?id='.$lines[$i]->id.'&withproject=1">';
for ($k = 0; $k < $level; $k++) {
print '<div class="marginleftonly">';
$labeltoshow .= '<div class="marginleftonly">';
}
print $lines[$i]->label;
$labeltoshow .= dol_escape_htmltag($lines[$i]->label);
for ($k = 0; $k < $level; $k++) {
print '</div>';
$labeltoshow .= '</div>';
}
if ($showlineingray) {
print '</i>';
$labeltoshow .= '</i>';
}
//else print '</a>';
print '<td class="tdoverflowmax200" title="'.dol_escape_htmltag($labeltoshow).'">';
print $labeltoshow;
print "</td>\n";
}

View File

@ -381,6 +381,10 @@ a.butStatus {
margin: 0 0.45em !important;
}
span.userimg.notfirst {
margin-left: -5px;
}
/* Used by timesheets */
span.timesheetalreadyrecorded input {
border: none;

View File

@ -568,6 +568,10 @@ a.butStatus {
margin: 0 0.45em !important;
}
span.userimg.notfirst {
margin-left: -5px;
}
/* Used by timesheets */
span.timesheetalreadyrecorded input {
border: none;
@ -1718,7 +1722,7 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select
text-overflow: ellipsis;
white-space: nowrap;
}
select {
padding-top: 4px;
padding-bottom: 5px;
@ -4463,7 +4467,7 @@ table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
.dolgraphtitlecssboxes { /* margin: 0px; */ }
.dolgraphchart canvas {
.dolgraphchart canvas {
/* width: calc(100% - 20px) !important; */
}
.legendColorBox, .legendLabel { border: none !important; }