Skip to content

Commit 4a33406

Browse files
author
minjk-bl
committed
Edit MultiSelector component's style
1 parent 24c8779 commit 4a33406

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

css/component/multiSelector.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.vp-cs-select-container {
22
width: 100%;
3-
height: 100%;
3+
height: calc(100% - 25px);
44
display: grid;
55
grid-template-columns: calc(47% - 15px) 50px calc(47% - 15px);
66
grid-auto-rows: 100%;

js/com/component/MultiSelector.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ define([
199199
// , APP_SELECT_SEARCH, 'Search Column');
200200
var vpSearchSuggest = new SuggestInput();
201201
vpSearchSuggest.addClass(APP_SELECT_SEARCH);
202+
vpSearchSuggest.addClass('vp-input');
202203
vpSearchSuggest.setPlaceholder('Search ' + this.mode);
203204
vpSearchSuggest.setSuggestList(function() { return that.dataList; });
204205
vpSearchSuggest.setSelectEvent(function(value) {
@@ -234,7 +235,7 @@ define([
234235

235236
renderSelectionBox(dataList) {
236237
var tag = new com_String();
237-
tag.appendFormatLine('<div class="{0} {1} {2} {3}">', APP_SELECT_BOX, 'left', APP_DROPPABLE, 'no-selection');
238+
tag.appendFormatLine('<div class="{0} {1} {2} {3}">', APP_SELECT_BOX, 'left', APP_DROPPABLE, 'no-selection vp-scrollbar');
238239
// get data and make draggable items
239240
dataList && dataList.forEach((data, idx) => {
240241
// for column : data.array parsing
@@ -254,7 +255,7 @@ define([
254255

255256
renderSelectedBox(dataList) {
256257
var tag = new com_String();
257-
tag.appendFormatLine('<div class="{0} {1} {2} {3}">', APP_SELECT_BOX, 'right', APP_DROPPABLE, 'no-selection');
258+
tag.appendFormatLine('<div class="{0} {1} {2} {3}">', APP_SELECT_BOX, 'right', APP_DROPPABLE, 'no-selection vp-scrollbar');
258259
// get data and make draggable items
259260
dataList && dataList.forEach((data, idx) => {
260261
// for column : data.array parsing

0 commit comments

Comments
 (0)