select2 width should be 100% to scale if the browser width changes

This commit is contained in:
Thomas Rupprecht 2022-11-30 22:50:36 +01:00 committed by Igor Scheller
parent 4ccceb271c
commit 9c3c2cc2ac
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ $(function () {
$(function () { $(function () {
$('select').select2({ $('select').select2({
theme: 'bootstrap-5', theme: 'bootstrap-5',
width: '100%',
}); });
}) })