diff --git a/bootstrap_select/static/bootstrap_select/bootstrap_select.css b/bootstrap_select/static/bootstrap_select/bootstrap_select.css index 1b28873..115e467 100644 --- a/bootstrap_select/static/bootstrap_select/bootstrap_select.css +++ b/bootstrap_select/static/bootstrap_select/bootstrap_select.css @@ -5,3 +5,12 @@ .form-row { overflow: visible; } + +.form-row.field-icon { + overflow: hidden; +} + +.bootstrap-select .dropdown-menu { + height: 500px; + width: 500px; +} diff --git a/bootstrap_select/widgets.py b/bootstrap_select/widgets.py index 9f5e700..defc123 100644 --- a/bootstrap_select/widgets.py +++ b/bootstrap_select/widgets.py @@ -19,9 +19,9 @@ def media(self): js = ['//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js', ] # noqa if self.bootstrap_css: - css['all'] = ['//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'] + css['all'] # noqa + css['all'] = ['//maxcdn.bootstrapcdn.com/bootstrap/5.1.3/css/bootstrap.min.css'] + css['all'] # noqa if self.bootstrap_js: - js = ['//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'] + js + js = ['//maxcdn.bootstrapcdn.com/bootstrap/5.1.3/js/bootstrap.min.js'] + js if self.jquery_js: js = ['//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'] + js