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 // Title of task
if (count($arrayfields) > 0 && !empty($arrayfields['t.label']['checked'])) { if (count($arrayfields) > 0 && !empty($arrayfields['t.label']['checked'])) {
print '<td>'; $labeltoshow = '';
if ($showlineingray) { if ($showlineingray) {
print '<i>'; $labeltoshow .= '<i>';
} }
//else print '<a href="'.DOL_URL_ROOT.'/projet/tasks/task.php?id='.$lines[$i]->id.'&withproject=1">'; //else print '<a href="'.DOL_URL_ROOT.'/projet/tasks/task.php?id='.$lines[$i]->id.'&withproject=1">';
for ($k = 0; $k < $level; $k++) { 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++) { for ($k = 0; $k < $level; $k++) {
print '</div>'; $labeltoshow .= '</div>';
} }
if ($showlineingray) { if ($showlineingray) {
print '</i>'; $labeltoshow .= '</i>';
} }
//else print '</a>'; print '<td class="tdoverflowmax200" title="'.dol_escape_htmltag($labeltoshow).'">';
print $labeltoshow;
print "</td>\n"; print "</td>\n";
} }

View File

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

View File

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