️ 一些优化

This commit is contained in:
目棃
2024-02-07 13:20:48 +08:00
parent fa891a6884
commit 82cdee00e7
6 changed files with 20 additions and 17 deletions

View File

@@ -74,7 +74,7 @@
/>
</slot>
<slot name="inner-text">
<span>{{ modelValue.innerText }}</span>
<span :title="modelValue.innerText">{{ modelValue.innerText }}</span>
</slot>
</div>
</div>
@@ -208,6 +208,13 @@ const props = defineProps<TItemBoxProps>();
margin-right: 5px;
}
.tib-inner span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-all;
}
.tib-outer {
position: absolute;
bottom: 0;