Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): add thin-scrollbar to email scrollable containers

Gus0e0235fbdf6b
diff --git a/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx b/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx
index 711f6adfb..33318592b 100644
--- a/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx
+++ b/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx
@@ -295,7 +295,7 @@ export default function AgentEmailPage() {
);
const emailListContent = (
- <div className={cn("h-full", emails.length > 0 && !loading ? "overflow-y-auto" : "overflow-hidden")}>
+ <div className={cn("h-full thin-scrollbar", emails.length > 0 && !loading ? "overflow-y-auto" : "overflow-hidden")}>
{loading ? (
<>
{Array.from({ length: 3 }).map((_, i) => (
@@ -347,7 +347,7 @@ export default function AgentEmailPage() {
);
const readingPaneContent = (
- <div className="h-full overflow-auto flex flex-col min-w-0">
+ <div className="h-full overflow-auto flex flex-col min-w-0 thin-scrollbar">
{composing ? (
<EmailCompose
key={JSON.stringify(composeInitial)}
diff --git a/src/web/src/components/email-compose.tsx b/src/web/src/components/email-compose.tsx
index 554e912be..5b71e48ba 100644
--- a/src/web/src/components/email-compose.tsx
+++ b/src/web/src/components/email-compose.tsx
@@ -243,7 +243,7 @@ export function EmailCompose({
</div>
)}
- <div className="flex-1 overflow-y-auto">
+ <div className="flex-1 overflow-y-auto thin-scrollbar">
<EditorContent editor={editor} />
</div>
</div>