Move server selectize dropdown container

This commit is contained in:
JonnyWong16 2018-02-13 19:30:20 -08:00
commit f77bd6c17b
2 changed files with 5 additions and 3 deletions

View file

@ -104,7 +104,7 @@ div.form-control .selectize-input {
text-overflow: ellipsis;
}
.selectize-dropdown.form-control.selectize-pms-ip {
margin-top: -4px;
margin-left: 15px;
}
.wizard-input-section .selectize-control.form-control.selectize-pms-ip .selectize-dropdown .selectize-dropdown-content {
max-height: 150px;
@ -186,6 +186,8 @@ select.form-control:focus,
display: block;
color: #a0a0a0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.selectize-dropdown .select-all,
.selectize-dropdown .remove-all {

View file

@ -623,7 +623,7 @@
<div class="form-group has-feedback" id="pms_ip_group">
<label for="pms_ip">Plex IP or Hostname</label>
<div class="row">
<div class="col-md-9">
<div class="col-md-9" id="selectize-pms-ip-container">
<div class="input-group">
<select class="form-control pms-settings selectize-pms-ip" id="pms_ip" name="pms_ip" data-parsley-trigger="change" aria-describedby="server-verified" data-parsley-errors-container="#pms_ip_error" required>
<option value="${config['pms_ip']}" selected>${config['pms_ip']}</option>
@ -1780,7 +1780,7 @@ $(document).ready(function() {
sortField: 'label',
searchField: ['label', 'value'],
inputClass: 'form-control selectize-input',
dropdownParent: 'body',
dropdownParent: '#selectize-pms-ip-container',
render: {
item: function (item, escape) {
var label = item.label || item.value;