Fix responsive
This commit is contained in:
parent
a36ed6a3c4
commit
3a59344c2f
@ -1644,8 +1644,10 @@ class ActionComm extends CommonObject
|
|||||||
}
|
}
|
||||||
if (!empty($this->note_private)) {
|
if (!empty($this->note_private)) {
|
||||||
$tooltip .= '<br><br><b>'.$langs->trans('Description').':</b><br>';
|
$tooltip .= '<br><br><b>'.$langs->trans('Description').':</b><br>';
|
||||||
$texttoshow = dolGetFirstLineOfText($this->note_private, 10);
|
$texttoshow = dolGetFirstLineOfText($this->note_private, 10); // Try to limit length of content
|
||||||
|
$tooltip .= '<div class="tenlinesmax">'; // Restrict height of content into the tooltip
|
||||||
$tooltip .= (dol_textishtml($texttoshow) ? str_replace(array("\r", "\n"), "", $texttoshow) : str_replace(array("\r", "\n"), '<br>', $texttoshow));
|
$tooltip .= (dol_textishtml($texttoshow) ? str_replace(array("\r", "\n"), "", $texttoshow) : str_replace(array("\r", "\n"), '<br>', $texttoshow));
|
||||||
|
$tooltip .= '</div>';
|
||||||
}
|
}
|
||||||
$linkclose = '';
|
$linkclose = '';
|
||||||
//if (!empty($conf->global->AGENDA_USE_EVENT_TYPE) && $this->type_color)
|
//if (!empty($conf->global->AGENDA_USE_EVENT_TYPE) && $this->type_color)
|
||||||
|
|||||||
@ -271,12 +271,10 @@ class FormActions
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ref = $actioncomm->getNomUrl(1, -1);
|
|
||||||
|
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
|
|
||||||
// Ref
|
// Ref
|
||||||
print '<td class="nowraponall">'.$ref.'</td>';
|
print '<td class="nowraponall">'.$actioncomm->getNomUrl(1, -1).'</td>';
|
||||||
|
|
||||||
// Onwer
|
// Onwer
|
||||||
print '<td class="nowraponall tdoverflowmax125">';
|
print '<td class="nowraponall tdoverflowmax125">';
|
||||||
@ -310,7 +308,7 @@ class FormActions
|
|||||||
$labeltype .= ' - '.$arraylist[$actionstatic->code]; // Use code in priority on type_code
|
$labeltype .= ' - '.$arraylist[$actionstatic->code]; // Use code in priority on type_code
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '<td class="tdoverflowmax100" title="'.$labeltype.'">';
|
print '<td class="tdoverflowmax100" title="'.dol_escape_htmltag($labeltype).'">';
|
||||||
print $actioncomm->getTypePicto();
|
print $actioncomm->getTypePicto();
|
||||||
print $labeltype;
|
print $labeltype;
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -1395,6 +1395,12 @@ select.flat.selectlimit {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
.tenlinesmax {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 10;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.tablelistofcalendars {
|
.tablelistofcalendars {
|
||||||
margin-top: 25px !important;
|
margin-top: 25px !important;
|
||||||
|
|||||||
@ -1514,6 +1514,12 @@ select.flat.selectlimit {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
.tenlinesmax {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 10;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.tablelistofcalendars {
|
.tablelistofcalendars {
|
||||||
margin-top: 25px !important;
|
margin-top: 25px !important;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user