Commit 4a0d6842 authored by BaiJiangJie's avatar BaiJiangJie Committed by 老广

[Update] 修改select2 css (#2125)

* [Update] 修改select2 css

* [Update] 创建资产选择节点时,关闭自动收起下拉列表
parent d6b22e9f
......@@ -86,6 +86,9 @@ $(document).ready(function () {
allowClear: true,
templateSelection: format
});
$('#id_nodes.select2').select2({
closeOnSelect: false
});
$("#id_protocol").change(function (){
var protocol = $("#id_protocol option:selected").text();
var port = 22;
......
......@@ -34,8 +34,8 @@ th a {
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #d2d2d2 !important;
color: #333 !important;
background-color: #1ab394 !important;
/*color: #333 !important;*/
}
.select2-selection--single,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment