Look and feel v17, search on multibox not too large

This commit is contained in:
Laurent Destailleur 2022-10-24 10:26:46 +02:00
parent b4218f4c53
commit a53a3fb9bf
3 changed files with 14 additions and 2 deletions

View File

@ -743,12 +743,12 @@ print '<tr class="liste_titre_filter">';
// Movement number // Movement number
if (!empty($arrayfields['t.piece_num']['checked'])) { if (!empty($arrayfields['t.piece_num']['checked'])) {
print '<td class="liste_titre"><input type="text" name="search_mvt_num" size="6" value="'.dol_escape_htmltag($search_mvt_num).'"></td>'; print '<td class="liste_titre"><input type="text" name="search_mvt_num" class="width50" value="'.dol_escape_htmltag($search_mvt_num).'"></td>';
} }
// Code journal // Code journal
if (!empty($arrayfields['t.code_journal']['checked'])) { if (!empty($arrayfields['t.code_journal']['checked'])) {
print '<td class="liste_titre center">'; print '<td class="liste_titre center">';
print $formaccounting->multi_select_journal($search_ledger_code, 'search_ledger_code', 0, 1, 1, 1); print $formaccounting->multi_select_journal($search_ledger_code, 'search_ledger_code', 0, 1, 1, 1, 'maxwidth75');
print '</td>'; print '</td>';
} }
// Date document // Date document

View File

@ -1393,6 +1393,7 @@ select.flat.selectlimit {
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
overflow: hidden; overflow: hidden;
height: auto !important;
} }
.tablelistofcalendars { .tablelistofcalendars {
@ -6438,9 +6439,14 @@ ul.select2-results__options li {
@media only screen and (min-width: 767px) @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 .select2-dropdown.ui-dialog {
min-width: 200px !important; min-width: 200px !important;
} }
.select2-container.select2-container--open .select2-dropdown--below {
min-width: 200px !important;
}
.select2-container--open .select2-dropdown--below { .select2-container--open .select2-dropdown--below {
border-top: 1px solid var(--inputbordercolor); border-top: 1px solid var(--inputbordercolor);
/* border-top: 1px solid #aaaaaa; */ /* border-top: 1px solid #aaaaaa; */

View File

@ -1512,6 +1512,7 @@ select.flat.selectlimit {
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
overflow: hidden; overflow: hidden;
height: auto !important;
} }
.tablelistofcalendars { .tablelistofcalendars {
@ -6204,9 +6205,14 @@ ul.select2-results__options li {
@media only screen and (min-width: 767px) @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 .select2-dropdown.ui-dialog {
min-width: 200px !important; min-width: 200px !important;
} }
.select2-container.select2-container--open .select2-dropdown--below {
min-width: 200px !important;
}
.select2-container--open .select2-dropdown--below { .select2-container--open .select2-dropdown--below {
border-top: 1px solid var(--inputbordercolor); border-top: 1px solid var(--inputbordercolor);
/* border-top: 1px solid #aaaaaa; */ /* border-top: 1px solid #aaaaaa; */