Skip to content

Commit

Permalink
fix: make sure select2 uses the width it has
Browse files Browse the repository at this point in the history
Fixes #101
  • Loading branch information
tymees committed Jul 30, 2024
1 parent b73c97c commit 7aab132
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cdh/core/static/cdh.core/js/widget/searchable-select.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$(() => {
$('.dsc-select2').select2();
$('.dsc-select2').select2({
width: '100%',
});
})

0 comments on commit 7aab132

Please sign in to comment.