Set "width" to "100%" as default for all Select2s on the "Examples" page.
This commit is contained in:
parent
cc0d662fe6
commit
5fd72d2052
@ -156,6 +156,8 @@ $.fn.select2.amd.require(
|
|||||||
var $diacritics = $(".js-example-diacritics");
|
var $diacritics = $(".js-example-diacritics");
|
||||||
var $language = $(".js-example-language");
|
var $language = $(".js-example-language");
|
||||||
|
|
||||||
|
$.fn.select2.defaults.set("width", "100%");
|
||||||
|
|
||||||
$basicSingle.select2();
|
$basicSingle.select2();
|
||||||
$basicMultiple.select2();
|
$basicMultiple.select2();
|
||||||
$limitMultiple.select2({
|
$limitMultiple.select2({
|
||||||
|
Loading…
Reference in New Issue
Block a user