Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix(knowledge-base): restore hover feedback on selected list rows

nullkeya40f19143001
diff --git a/frontend/src/views/knowledge/components/DocumentListView.vue b/frontend/src/views/knowledge/components/DocumentListView.vue
index fef9fa619..513e3c934 100644
--- a/frontend/src/views/knowledge/components/DocumentListView.vue
+++ b/frontend/src/views/knowledge/components/DocumentListView.vue
@@ -325,7 +325,13 @@ const handleAction = (action: 'edit' | 'reparse' | 'move' | 'delete', item: Know
background: var(--td-brand-color-1, #f2f5fc);
box-shadow: inset 3px 0 0 var(--td-brand-color, #0052d9);
- &:hover { background: var(--td-brand-color-light, #e8eefc); }
+ // brand-color-light alias maps back to brand-color-1, so a plain
+ // var() swap produces no visible hover delta. Mix in a touch of
+ // brand-color so the hover state is perceptible in both light and
+ // dark themes without falling back to the saturated brand-color-2.
+ &:hover {
+ background: color-mix(in srgb, var(--td-brand-color-1) 75%, var(--td-brand-color));
+ }
}
&:hover .row-more-btn,