From 09ebaa9b73c8d42bd47f31ff15b459b977ec69e8 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sun, 30 Dec 2018 22:20:10 +0300 Subject: [PATCH] Base MultiSelect Implementation --- src/components/multiselect/MultiSelect.css | 8 +- src/components/multiselect/MultiSelect.vue | 137 +++++++++++++++++++-- 2 files changed, 130 insertions(+), 15 deletions(-) diff --git a/src/components/multiselect/MultiSelect.css b/src/components/multiselect/MultiSelect.css index c6627b06f..ec114cd4a 100644 --- a/src/components/multiselect/MultiSelect.css +++ b/src/components/multiselect/MultiSelect.css @@ -27,7 +27,7 @@ position: absolute; } -.p-multiselect .p-multiselect-label-container { +.p-multiselect .p-multiselect-label-container { overflow: hidden; } @@ -48,7 +48,7 @@ .p-multiselect.p-disabled .p-multiselect-trigger, .p-multiselect.p-disabled .p-multiselect-label { - cursor: auto + cursor: auto; } .p-multiselect-panel { @@ -69,6 +69,8 @@ .p-multiselect-panel .p-multiselect-list { border: 0 none; + margin: 0; + list-style-type: none; } .p-multiselect-panel .p-multiselect-item { @@ -88,7 +90,7 @@ vertical-align: middle; } -.p-multiselect-panel .p-multiselect-item label { +.p-multiselect-panel .p-multiselect-item > span { display: inline-block; vertical-align: middle; } diff --git a/src/components/multiselect/MultiSelect.vue b/src/components/multiselect/MultiSelect.vue index 3e53aef94..1e98f7269 100644 --- a/src/components/multiselect/MultiSelect.vue +++ b/src/components/multiselect/MultiSelect.vue @@ -1,5 +1,5 @@