From 240648d540daac9c12ebe4c902c86db155477af5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Dec 2020 17:09:48 +0100 Subject: [PATCH] css --- htdocs/comm/action/peruser.php | 2 +- htdocs/core/lib/agenda.lib.php | 5 ++--- htdocs/theme/eldy/global.inc.php | 3 +++ htdocs/theme/md/style.css.php | 4 ++++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index 6161b6c820b..3ddea1c0cbf 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -673,7 +673,7 @@ while ($currentdaytoshow < $lastdaytoshow) { echo ''; echo ''; - echo ''; print ''; - $var = true; $i = 0; $staticaction = new ActionComm($db); @@ -284,7 +283,7 @@ function show_array_last_actions_done($max = 5) print ''; print ''; print ''; - $var = true; + $i = 0; $staticaction = new ActionComm($db); diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 3a849c33b3a..fcd196ff122 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -630,6 +630,9 @@ textarea.centpercent { .nowrap { white-space: ; } +.nowraponsmartphone { + white-space: ; +} .liste_titre .nowrap { white-space: nowrap; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 8d0721e8aad..c16d0df2351 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -729,6 +729,9 @@ textarea.centpercent { .nowrap { white-space: ; } +.nowraponsmartphone { + white-space: ; +} .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;
'; + echo ''; if ($canedit && $action == 'show_peruser') { diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php index 8241b415726..dabf8f2b853 100644 --- a/htdocs/core/lib/agenda.lib.php +++ b/htdocs/core/lib/agenda.lib.php @@ -87,7 +87,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh print '
'; print img_picto('', 'user', 'class="fawidth30 inline-block"'); print ''.$langs->trans("ActionsToDoBy").''; - 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 '
'; print '
'; print img_picto('', 'object_group', 'class="fawidth30 inline-block"'); @@ -189,7 +189,6 @@ function show_array_actions_to_do($max = 5) print '
'.$langs->trans("FullList").'
'.$langs->trans("LastDoneTasks", $max).''.$langs->trans("FullList").'