Migrate country selector columns into new country-select widget

This commit is contained in:
Hadi Nategh 2018-09-18 15:46:18 +02:00
parent 82065b51c3
commit b7b490fb34
3 changed files with 8 additions and 3 deletions

View File

@ -120,3 +120,5 @@ select#addressbook-index_col_filter\[tid\] {
width: 134px; width: 134px;
} }
#addressbook-edit .chzn-container .chzn-results {max-height: 110px} #addressbook-edit .chzn-container .chzn-results {max-height: 110px}
#addressbook-index_nm .chzn-drop {width:auto;}

View File

@ -62,12 +62,12 @@
<nextmatch-header label="Birthday" id="bday"/> <nextmatch-header label="Birthday" id="bday"/>
<vbox> <vbox>
<nextmatch-header label="Business address" id="business"/> <nextmatch-header label="Business address" id="business"/>
<nextmatch-customfilter id="adr_one_countrycode" options="select-country" empty_label="Country" class="countrySelect"/> <nextmatch-customfilter id="adr_one_countrycode" options="select-country" type="select-country" width="100px" tags="true" empty_label="Country" class="countrySelect"/>
<nextmatch-sortheader label="zip code" id="adr_one_postalcode"/> <nextmatch-sortheader label="zip code" id="adr_one_postalcode"/>
</vbox> </vbox>
<vbox> <vbox>
<nextmatch-header label="Home address" id="home"/> <nextmatch-header label="Home address" id="home"/>
<nextmatch-customfilter id="adr_two_countrycode" options="select-country" empty_label="Country" class="countrySelect"/> <nextmatch-customfilter id="adr_two_countrycode" options="select-country" type="select-country" tags="true" empty_label="Country" class="countrySelect"/>
<nextmatch-sortheader label="zip code" id="adr_two_postalcode"/> <nextmatch-sortheader label="zip code" id="adr_two_postalcode"/>
</vbox> </vbox>
<vbox> <vbox>

View File

@ -143,6 +143,9 @@ select#addressbook-index_col_filter\[tid\] {
#addressbook-edit .chzn-container .chzn-results { #addressbook-edit .chzn-container .chzn-results {
max-height: 110px; max-height: 110px;
} }
#addressbook-index_nm .chzn-drop {
width: auto;
}
@media all { @media all {
/* ############################################################################# /* #############################################################################