This commit is contained in:
Laurent Destailleur 2023-02-22 03:40:39 +01:00
parent 76d7d883df
commit cf323002af
3 changed files with 7 additions and 8 deletions

View File

@ -420,7 +420,7 @@ $viewmode = '';
$viewmode .= '<div class="divadvancedsearchfield">';
$arrayofgraphs = array('bars' => 'Bars', 'lines' => 'Lines'); // also 'pies'
$viewmode .= '<div class="inline-block opacitymedium"><span class="fas fa-chart-area paddingright" title="'.$langs->trans("Graph").'"></span>'.$langs->trans("Graph").'</div> ';
$viewmode .= $form->selectarray('search_graph', $arrayofgraphs, $search_graph, 0, 0, 0, 'minwidth100', 1);
$viewmode .= $form->selectarray('search_graph', $arrayofgraphs, $search_graph, 0, 0, 0, '', 1, 0, 0, '', 'graphtype width100');
$viewmode .= '</div>';
$num = 0;

View File

@ -6566,11 +6566,11 @@ select.multiselectononeline {
@media only screen and (min-width: 767px)
{
/* CSS to have the dropdown boxes larger that the input search area */
.select2-container.select2-container--open .select2-dropdown.ui-dialog {
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown.ui-dialog {
min-width: 220px !important;
}
.select2-container.select2-container--open .select2-dropdown--below:not(.onrightofpage),
.select2-container.select2-container--open .select2-dropdown--above:not(.onrightofpage) {
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown--below:not(.onrightofpage),
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown--above:not(.onrightofpage) {
min-width: 220px !important;
}
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,

View File

@ -6462,12 +6462,11 @@ select.multiselectononeline {
@media only screen and (min-width: 767px)
{
/* CSS to have the dropdown boxes larger that the input search area */
.select2-container.select2-container--open .select2-dropdown.ui-dialog {
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown.ui-dialog {
min-width: 220px !important;
}
.select2-container.select2-container--open .select2-dropdown--below:not(.onrightofpage),
.select2-container.select2-container--open .select2-dropdown--above:not(.onrightofpage) {
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown--below:not(.onrightofpage),
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown--above:not(.onrightofpage) {
min-width: 220px !important;
}
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,