Skip to content

Commit

Permalink
Merge pull request #9 from voxy/fix-unit-admin-icon-view
Browse files Browse the repository at this point in the history
Fix unit admin icon view
  • Loading branch information
danielvoxy authored Mar 15, 2024
2 parents 3d553bb + 3a34f7c commit 3228637
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions bootstrap_select/static/bootstrap_select/bootstrap_select.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@
.form-row {
overflow: visible;
}

.form-row.field-icon {
overflow: hidden;
}

.bootstrap-select .dropdown-menu {
height: 500px;
width: 500px;
}
4 changes: 2 additions & 2 deletions bootstrap_select/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3228637

Please sign in to comment.