This commit is contained in:
Laurent Destailleur 2020-12-08 17:09:48 +01:00
parent 8491be2572
commit 240648d540
4 changed files with 10 additions and 4 deletions

View File

@ -673,7 +673,7 @@ while ($currentdaytoshow < $lastdaytoshow) {
echo '<table width="100%" class="noborder nocellnopadd cal_month">';
echo '<tr class="liste_titre">';
echo '<td class="nopaddingtopimp nopaddingbottomimp">';
echo '<td class="nopaddingtopimp nopaddingbottomimp nowraponsmartphone">';
if ($canedit && $action == 'show_peruser')
{

View File

@ -87,7 +87,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
print '<div class="divsearchfield">';
print img_picto('', 'user', 'class="fawidth30 inline-block"');
print '<span class="hideonsmartphone">'.$langs->trans("ActionsToDoBy").'</span>';
print $form->select_dolusers($filtert, 'search_filtert', 1, '', !$canedit, '', '', 0, 0, 0, '', 0, '', 'maxwidth500');
print $form->select_dolusers($filtert, 'search_filtert', 1, '', !$canedit, '', '', 0, 0, 0, '', 0, '', 'maxwidth500 widthcentpercentminusxx');
print '</div>';
print '<div class="divsearchfield">';
print img_picto('', 'object_group', 'class="fawidth30 inline-block"');
@ -189,7 +189,6 @@ function show_array_actions_to_do($max = 5)
print '<th colspan="2" class="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/comm/action/list.php?action=show_list&status=todo">'.$langs->trans("FullList").'</a></th>';
print '</tr>';
$var = true;
$i = 0;
$staticaction = new ActionComm($db);
@ -284,7 +283,7 @@ function show_array_last_actions_done($max = 5)
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("LastDoneTasks", $max).'</th>';
print '<th colspan="2" class="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/comm/action/list.php?action=show_list&status=done">'.$langs->trans("FullList").'</a></th>';
print '</tr>';
$var = true;
$i = 0;
$staticaction = new ActionComm($db);

View File

@ -630,6 +630,9 @@ textarea.centpercent {
.nowrap {
white-space: <?php print ($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
}
.nowraponsmartphone {
white-space: <?php print ($dol_optimize_smallscreen ? 'nowrap' : 'normal'); ?>;
}
.liste_titre .nowrap {
white-space: nowrap;
}

View File

@ -729,6 +729,9 @@ textarea.centpercent {
.nowrap {
white-space: <?php print ($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
}
.nowraponsmartphone {
white-space: <?php print ($dol_optimize_smallscreen ? 'nowrap' : 'normal'); ?>;
}
.liste_titre .nowrap {
white-space: nowrap;
}
@ -1279,6 +1282,7 @@ table[summary="list_of_modules"] .fa-cog {
.minwidth500imp { min-width: 250px !important; }
}
/* Set a width. Note: add also a max-width that will be used in priority */
.widthcentpercentminusx {
width: calc(100% - 50px) !important;
display: inline-block;