diff --git a/components/TemplateEditor.tsx b/components/TemplateEditor.tsx index 9ab42aa..46f68ad 100644 --- a/components/TemplateEditor.tsx +++ b/components/TemplateEditor.tsx @@ -161,7 +161,7 @@ const Editor: React.FC = ({ initialTemplate, onBack, onSave }) => { return (
{/* Top Bar */} -
+
{/* Right: Live Preview */} -
-
+
+
Live Preview @@ -297,8 +297,10 @@ const Editor: React.FC = ({ initialTemplate, onBack, onSave }) => { Renders as standard HTML
-
-
+ {/* Scrollable container: flex-1 ensures it takes available space, overflow-y-auto enables scrolling */} +
+ {/* mx-auto centers the card without using flexbox on the parent which can cause scroll issues */} +
{/* Simulate Subject Line in Preview */}
Subject: