Skip to content

Commit 15c4e87

Browse files
committed
fix(EditableChipList): put edit button at end and name overflow
1 parent 54bf665 commit 15c4e87

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/EditableChipList.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ const itemsToRender = computed(() =>
4747
@click="toggle"
4848
>
4949
<slot name="item-prepend" :key="key" :item="items[idx]"></slot>
50-
<span class="overflow-hidden">{{ title }}</span>
51-
<v-spacer />
50+
<span class="text-truncate">{{ title }}</span>
5251
<slot name="item-append" :key="key" :item="items[idx]"></slot>
5352
</v-chip>
5453
</v-item>
@@ -70,4 +69,8 @@ const itemsToRender = computed(() =>
7069
background-color: rgb(var(--v-theme-selection-bg-color));
7170
border-color: rgb(var(--v-theme-selection-border-color));
7271
}
72+
73+
.v-chip:deep() .v-chip__content {
74+
width: 100%;
75+
}
7376
</style>

0 commit comments

Comments
 (0)