Skip to content

Commit 0eae71a

Browse files
committed
fix: knowledge
1 parent 80ced14 commit 0eae71a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/Foundary/Views/KnowledgeView.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function KnowledgeView({
5353
}
5454

5555
return (
56-
<div className="flex flex-col h-full max-h-[calc(100vh-8rem)]">
56+
<div className="flex flex-col h-full">
5757
<div className="px-2 md:px-4 py-4 flex-shrink-0">
5858
{/* <DashboardHero
5959
title="Knowledge"
@@ -80,7 +80,7 @@ export default function KnowledgeView({
8080
{/* Context Tabs */}
8181
{contexts && contexts.length > 0 && (
8282
<div className="mt-6">
83-
<div className="border-b border-border">
83+
<div className="">
8484
<nav className="-mb-px flex justify-between items-center">
8585
<div className="flex space-x-8 overflow-x-auto">
8686
{contexts.map((context) => (
@@ -103,7 +103,7 @@ export default function KnowledgeView({
103103
<div className="flex items-center gap-2 flex-shrink-0">
104104
<button
105105
onClick={() => setIsAddKnowledgeModalOpen(true)}
106-
className="inline-flex border border-primary rounded-xl items-center gap-2 py-2 px-3 text-sm font-medium text-primary hover:text-primary/80 transition-colors whitespace-nowrap"
106+
className="inline-flex border border-primary rounded-xl items-center py-2 px-3 text-sm font-medium text-primary hover:text-primary/80 transition-colors whitespace-nowrap"
107107
>
108108
Add Knowledge
109109
</button>
@@ -120,7 +120,7 @@ export default function KnowledgeView({
120120
{/* Active Context Description */}
121121
{activeContext?.description && (
122122
<div className="mt-3 px-1">
123-
<p className="text-sm text-muted-foreground">{activeContext?.description}</p>
123+
<p className="text-sm text-primary">{activeContext?.description}</p>
124124
</div>
125125
)}
126126
</div>

0 commit comments

Comments
 (0)