Make sure to set a panel id in xml so that the html can recognize it after the #
To expand length of panel:
set a panel id
Change size of object with that id in
html
for example:
<input type="multiselect" token="panel" id="example_id">
....
</input>
<html>
<style type="text/css">
#example_id div[data-component="splunk-core:/splunkjs/mvc/components/MultiDropdown"]{
width: 400px !important;
}
#example_id div[data-view="splunkjs/mvc/multidropdownview"] {
width: 400px !important;
margin-right: auto !important;
}
#example_id div[class="splunk-view splunk-multidropdown splunk-choice-input"]{
width: 400px !important;
margin-right: auto !important;
}
.fieldset .input{
width:auto !important;
}
</style>
</html>
Note:
id="example_id
#example_id
... View more