Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix: remove duplicate scrollbar in email preview iframe

Generbd69b420a6a6
diff --git a/src/web/src/components/email-body-frame.tsx b/src/web/src/components/email-body-frame.tsx
index 1556e7ea5..2ad1d808e 100644
--- a/src/web/src/components/email-body-frame.tsx
+++ b/src/web/src/components/email-body-frame.tsx
@@ -9,14 +9,9 @@ interface EmailBodyFrameProps {
}
const SCROLLBAR_STYLES = `
- html {
- scrollbar-width: thin;
- scrollbar-color: var(--sb-thumb, rgba(0,0,0,0.15)) transparent;
+ html, body {
+ overflow: hidden;
}
- ::-webkit-scrollbar { width: 4px; height: 4px; }
- ::-webkit-scrollbar-track { background: transparent; }
- ::-webkit-scrollbar-thumb { background: var(--sb-thumb, rgba(0,0,0,0.15)); border-radius: 2px; }
- ::-webkit-scrollbar-thumb:hover { background: var(--sb-hover, rgba(0,0,0,0.3)); }
`;
const LIGHT_STYLES = `