Skip to content

Commit 3228637

Browse files
authored
Merge pull request #9 from voxy/fix-unit-admin-icon-view
Fix unit admin icon view
2 parents 3d553bb + 3a34f7c commit 3228637

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

bootstrap_select/static/bootstrap_select/bootstrap_select.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,12 @@
55
.form-row {
66
overflow: visible;
77
}
8+
9+
.form-row.field-icon {
10+
overflow: hidden;
11+
}
12+
13+
.bootstrap-select .dropdown-menu {
14+
height: 500px;
15+
width: 500px;
16+
}

bootstrap_select/widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def media(self):
1919
js = ['//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js', ] # noqa
2020

2121
if self.bootstrap_css:
22-
css['all'] = ['//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'] + css['all'] # noqa
22+
css['all'] = ['//maxcdn.bootstrapcdn.com/bootstrap/5.1.3/css/bootstrap.min.css'] + css['all'] # noqa
2323
if self.bootstrap_js:
24-
js = ['//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'] + js
24+
js = ['//maxcdn.bootstrapcdn.com/bootstrap/5.1.3/js/bootstrap.min.js'] + js
2525
if self.jquery_js:
2626
js = ['//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'] + js
2727

0 commit comments

Comments
 (0)