mirror of
https://github.com/pretix/pretix.git
synced 2026-08-13 11:17:01 +00:00
Set select2 width to 100% so they adapt when browser window is resized
This commit is contained in:
@@ -485,6 +485,7 @@ var form_handlers = function (el) {
|
||||
theme: "bootstrap",
|
||||
language: $("body").attr("data-select2-locale"),
|
||||
data: JSON.parse($(this.getAttribute('data-select2-src')).text()),
|
||||
width: '100%',
|
||||
}).val(selectedValue).trigger('change');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user