Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

fix(ui): knowledge base modal backdrop and positioning

Tushar Khatri6d9df87bc4fa
diff --git a/web/app/knowledge/page.tsx b/web/app/knowledge/page.tsx
index 87cee82c2..21ba46163 100644
--- a/web/app/knowledge/page.tsx
+++ b/web/app/knowledge/page.tsx
@@ -845,7 +845,7 @@ export default function KnowledgePage() {
{/* Create KB Modal */}
{createModalOpen && (
- <div className="fixed inset-0 bg-black/50 backdrop-blur-sm z-50 flex items-center justify-center p-4">
+ <div className="fixed inset-0 z-50 flex items-center justify-center p-4 mt-40">
<div className="bg-white dark:bg-slate-800 rounded-2xl shadow-2xl w-full max-w-md p-6 animate-in zoom-in-95">
<div className="flex justify-between items-center mb-4">
<h3 className="text-lg font-bold text-slate-900 dark:text-slate-100">