提交 639c8918 编写于 作者: View Design's avatar View Design

Update SearchHistory.vue

上级 3b04b241
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
</div> </div>
<ClientOnly> <ClientOnly>
<div <div
v-auto-animate v-auto-animate
class="flex overflow-y-auto flex-col gap-1 border-l border-gray-200 dark:border-gray-800 pl-2 ml-5"> class="flex overflow-y-auto flex-col gap-1 border-l border-gray-200 dark:border-gray-800 pl-2 ml-5">
<template v-for="item in $searchHistory.reverse()" :key="item.c_id"> <template v-for="item in $searchHistory.reverse()" :key="item.c_id">
<UButton <UButton
class="flex text-gray-400" class="flex text-gray-400"
...@@ -30,7 +30,7 @@ v-auto-animate ...@@ -30,7 +30,7 @@ v-auto-animate
long long
:to="`/search/${item.c_id}`" :to="`/search/${item.c_id}`"
> >
<div class="flex-grow truncate" :title="item.title">{{ item.title }}</div> <div class="line-clamp-1" :title="item.title">{{ item.title }}</div>
</UButton> </UButton>
</template> </template>
</div> </div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册