refactor: adjust layout and styling in AIAgentConfigWorkbench and ProjectDialog components

This commit is contained in:
mlogclub
2026-06-22 20:38:53 +08:00
parent b0fa5100d2
commit 9b76ef4bd0
2 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ function ProjectDialog({
className={cn(
"flex max-h-[calc(100vh-2rem)] flex-col gap-0 overflow-hidden p-0",
fullscreen
? "top-5 left-5 h-[calc(100vh-40px)] max-h-[calc(100vh-40px)] w-[calc(100vw-40px)] max-w-[calc(100vw-40px)] translate-x-0 translate-y-0 rounded-xl sm:max-w-[calc(100vw-40px)]"
? "top-2 left-2 h-[calc(100vh-16px)] max-h-[calc(100vh-16px)] w-[calc(100vw-16px)] max-w-[calc(100vw-16px)] translate-x-0 translate-y-0 rounded-xl sm:max-w-[calc(100vw-16px)]"
: dialogSizeClassName[size],
contentClassName,
)}