@@ -207,7 +207,7 @@ const [DefineThreadLiItem, ReuseThreadLiItem] = createReusableTemplate<{ thread:
207207 <!-- Using [&.active] instead of :active-class because of reactivity bug -->
208208 <NuxtLink
209209 :to =" `/chat/${thread._id}`"
210- class =" group/thread relative block flex items-center gap-2 overflow-hidden rounded-md p-2 px-3 text-sm [& .router-link-exact-active]:bg-primary/10 hover:bg-primary/20 "
210+ class =" group/thread relative block flex items-center gap-2 overflow-hidden rounded-md p-2 px-3 text-sm $BGCOLOR=$primary-200 [& .router-link-exact-active]:( bg-[hsl(var(--BGCOLOR)/0.3)]) hover:( bg-[hsl(var(--BGCOLOR)/0.7)]) dark:$BGCOLOR=$primary-800 "
211211 @mousedown.left =" navigateTo(`/chat/${thread._id}`);"
212212 @click =" navigateTo(`/chat/${thread._id}`); sidebarContext.setOpenMobile(false)"
213213 >
@@ -216,7 +216,7 @@ const [DefineThreadLiItem, ReuseThreadLiItem] = createReusableTemplate<{ thread:
216216 <FrozenIconButton v-if =" thread.frozen" :thread />
217217 </div >
218218
219- <Tooltip :delay-duration = " 500 " >
219+ <Tooltip >
220220 <TooltipTrigger as-child >
221221 <div class =" truncate" >
222222 {{ thread.title }}
@@ -227,11 +227,12 @@ const [DefineThreadLiItem, ReuseThreadLiItem] = createReusableTemplate<{ thread:
227227 </TooltipContent >
228228 </Tooltip >
229229
230- <LiquidGlassDiv
231- class =" right-0 top-0 h-full flex translate-x-[calc(100%+1rem)] items-center gap-1 px-2 pr-1 transition-transform will-change-transform $c-radius=6px absolute! group-hover/thread:translate-x-0"
230+ <div
231+ class =" right-0 top-0 h-full flex translate-x-[calc(100%+1rem)] items-center gap-1 bg-[hsl(var(--BGCOLOR))] px-2 pr-1 transition-transform will-change-transform absolute! group-hover/thread:translate-x-0"
232232 @click.stop.prevent
233233 >
234- <Tooltip :delay-duration =" 500" >
234+ <div class =" pointer-events-none absolute bottom-0 right-[100%] top-0 h-12 w-8 from-[hsl(var(--BGCOLOR))] to-transparent bg-gradient-to-l opacity-0 group-hover/thread:opacity-100" />
235+ <Tooltip >
235236 <TooltipTrigger as-child >
236237 <Button
237238 tabindex =" -1" variant =" ghost" size =" icon" class =" size-7 transition-none hover:bg-surface-200/20!"
@@ -244,9 +245,8 @@ const [DefineThreadLiItem, ReuseThreadLiItem] = createReusableTemplate<{ thread:
244245 <p >{{ pinned ? $t('chat.thread.unpin') : $t('chat.thread.pin') }}</p >
245246 </TooltipContent >
246247 </Tooltip >
247-
248248 <ReuseDeleteBtn :thread />
249- </LiquidGlassDiv >
249+ </div >
250250 </NuxtLink >
251251 </ContextMenuTrigger >
252252 <ContextMenuContent >
0 commit comments