From 3388426929495b9723fd1e0ddb51bbf041adfb64 Mon Sep 17 00:00:00 2001 From: Vamsi Sai <39260099+vamsi4845@users.noreply.github.com> Date: Fri, 10 Oct 2025 23:38:11 +0530 Subject: [PATCH] fix: template-edit-page-responsiveness (#268) --- .../(dashboard)/templates/[templateId]/edit/page.tsx | 12 ++++++------ packages/email-editor/src/editor.tsx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/(dashboard)/templates/[templateId]/edit/page.tsx b/apps/web/src/app/(dashboard)/templates/[templateId]/edit/page.tsx index a28f3d2..631fa6a 100644 --- a/apps/web/src/app/(dashboard)/templates/[templateId]/edit/page.tsx +++ b/apps/web/src/app/(dashboard)/templates/[templateId]/edit/page.tsx @@ -119,7 +119,7 @@ function TemplateEditor({ return (
-
+
@@ -128,7 +128,7 @@ function TemplateEditor({ type="text" value={name} onChange={(e) => setName(e.target.value)} - className=" border-0 focus:ring-0 focus:outline-none px-0.5 w-[300px]" + className=" border-0 focus:ring-0 focus:outline-none px-0.5 w-full sm:w-[300px]" onBlur={() => { if (name === template.name || !name) { return; @@ -149,7 +149,7 @@ function TemplateEditor({ />
-
+
{isSaving ? (
@@ -163,7 +163,7 @@ function TemplateEditor({
-
+
-
-
+
+
{ diff --git a/packages/email-editor/src/editor.tsx b/packages/email-editor/src/editor.tsx index 9b3a156..d31d0b5 100644 --- a/packages/email-editor/src/editor.tsx +++ b/packages/email-editor/src/editor.tsx @@ -105,7 +105,7 @@ export const Editor: React.FC = ({ return (