diff --git a/htdocs/admin/agenda_other.php b/htdocs/admin/agenda_other.php index 7b057a0693c..5003593905e 100644 --- a/htdocs/admin/agenda_other.php +++ b/htdocs/admin/agenda_other.php @@ -368,7 +368,7 @@ if (!is_array($result) && $result < 0) { } elseif (count($result) > 0) { $defval = reset($result)->value; } -$formactions->form_select_status_action('agenda', $defval, 1, "AGENDA_EVENT_DEFAULT_STATUS", 0, 1, 'maxwidth200'); +$formactions->form_select_status_action('agenda', $defval, 1, "AGENDA_EVENT_DEFAULT_STATUS", 0, 1, 'maxwidth200 onrightofpage'); print ''."\n"; // AGENDA_DEFAULT_FILTER_TYPE diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php index 63e705aa1f7..364a638e13f 100644 --- a/htdocs/core/class/html.formactions.class.php +++ b/htdocs/core/class/html.formactions.class.php @@ -142,7 +142,7 @@ class FormActions $canedit = 0; } - print ajax_combobox('select'.$htmlname); + print ajax_combobox('select'.$htmlname, array(), 0, 0, 'resolve', '-1', $morecss); if (empty($onlyselect)) { print ' = 0) ? '' : ' disabled').'>'; diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index b78428deadd..0e8bf7f1c3b 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -6486,10 +6486,12 @@ ul.select2-results__options li { .select2-container.select2-container--open .select2-dropdown.ui-dialog { min-width: 220px !important; } - .select2-container.select2-container--open .select2-dropdown--below { + .select2-container.select2-container--open .select2-dropdown--below, + .select2-container.select2-container--open .select2-dropdown--above { min-width: 220px !important; } - .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below { + .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below, + .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above{ min-width: 140px !important; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index ac5a712b395..b90137858d5 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -6309,10 +6309,12 @@ ul.select2-results__options li { .select2-container.select2-container--open .select2-dropdown.ui-dialog { min-width: 220px !important; } - .select2-container.select2-container--open .select2-dropdown--below { + .select2-container.select2-container--open .select2-dropdown--below, + .select2-container.select2-container--open .select2-dropdown--above { min-width: 220px !important; } - .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below { + .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below, + .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above { min-width: 140px !important; }