Define fixed width for auto-complete dropdown
This commit is contained in:
parent
eed3256824
commit
1db83cddd0
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -265,7 +265,6 @@ KB.component('select-dropdown-autocomplete', function(containerElement, options)
|
|||
.attr('type', 'text')
|
||||
.attr('placeholder', getPlaceholderValue())
|
||||
.addClass('select-dropdown-input')
|
||||
.style('width', (containerElement.offsetWidth - 30) + 'px')
|
||||
.on('focus', toggleDropdownMenu)
|
||||
.on('input', onInputChanged, true)
|
||||
.build();
|
||||
|
|
|
|||
|
|
@ -33,10 +33,12 @@
|
|||
border: 1px solid #ccc
|
||||
border-radius: 5px
|
||||
background-color: #fff
|
||||
width: 300px
|
||||
input.select-dropdown-input
|
||||
margin: 0 0 0 5px
|
||||
border: none
|
||||
height: 23px
|
||||
width: 270px
|
||||
&:focus
|
||||
border: none
|
||||
box-shadow: none
|
||||
|
|
|
|||
Loading…
Reference in New Issue