countries selection fixed

This commit is contained in:
Mark Gregory
2026-07-07 13:55:26 +01:00
parent 96bae35060
commit d90c945e83
3 changed files with 152 additions and 3 deletions
+21
View File
@@ -155,3 +155,24 @@
.select2-container--wms .select2-results__message {
color: rgb(161 161 170) !important;
}
/* Safety: any WMS Select2 target should disappear once Select2 has initialised,
even if a view is not wrapped in .wms-select2-field. */
select[data-wms-select2].select2-hidden-accessible,
select[data-company-country-select2].select2-hidden-accessible,
select[data-helpdesk-select2].select2-hidden-accessible {
position: absolute !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
clip: rect(0 0 0 0) !important;
white-space: nowrap !important;
border: 0 !important;
padding: 0 !important;
margin: -1px !important;
}
/* Keep country Select2 controls aligned with the surrounding WMS form fields. */
.wms-select2-field .select2-container--wms {
margin-top: 0.5rem !important;
}