Commit 72c54cd 1 parent d7cab9a commit 72c54cd Copy full SHA for 72c54cd
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,17 @@ function onChange(e) {
41
41
v-if =" props.showHandle"
42
42
class =" h-4 w-4 flex-shrink-0 cursor-grab text-gray-500"
43
43
/>
44
- <div class =" flex flex-1 flex-col justify-center overflow-hidden" >
44
+ <div class =" flex-1 overflow-hidden" >
45
45
<slot name =" item" :item =" item" :index =" idx" >
46
46
8000
<div
47
- class =" group flex flex-1 cursor-pointer items-center justify-between rounded bg-gray-50 py-1.5 px-2 hover:bg-gray-100"
47
+ class =" group flex flex-1 cursor-pointer items-center justify-between gap-1 overflow-hidden rounded bg-gray-50 py-1.5 px-2 hover:bg-gray-100"
48
48
>
49
- <div class =" flex items-center space-x-2 " >
49
+ <div class =" flex-1 overflow-hidden " >
50
50
<slot name =" item-content" :item =" item" :index =" idx" >
51
51
<div >{{ typeof item === 'object' ? item[itemKey] : item }}</div >
52
52
</slot >
53
53
</div >
54
- <div class =" flex items-center space-x-2 " >
54
+ <div class =" flex-shrink-0 " >
55
55
<X
56
56
@click.prevent.stop =" items.splice(idx, 1)"
57
57
class =" invisible h-4 w-4 text-gray-600 transition-all hover:text-gray-800 group-hover:visible"
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ function confirmSelection() {
108
108
<template #item-content =" { item } " >
109
109
<div class =" flex items-center gap-1.5" >
110
110
<DataTypeIcon :columnType =" item.type" />
111
- <span >{{ item.name }}</span >
111
+ <span class = " truncate " >{{ item.name }}</span >
112
112
</div >
113
113
</template >
114
114
</DraggableList >
You can’t perform that action at this time.
0 commit comments