From f2895682b3fff3a81477e045d97f08b81147909e Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 18 May 2023 11:32:27 +0800 Subject: [PATCH] fix: dashboard editor style Signed-off-by: Innei --- src/app/dashboard/[subdomain]/editor/page.tsx | 7 +++++-- src/components/ui/CodeMirror.tsx | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/dashboard/[subdomain]/editor/page.tsx b/src/app/dashboard/[subdomain]/editor/page.tsx index 41dd39e0..99fc3c49 100644 --- a/src/app/dashboard/[subdomain]/editor/page.tsx +++ b/src/app/dashboard/[subdomain]/editor/page.tsx @@ -591,12 +591,12 @@ export default function SubdomainEditor() { {isMobileLayout ? ( !isRendering ? ( { setCurrentScrollArea("editor") diff --git a/src/components/ui/CodeMirror.tsx b/src/components/ui/CodeMirror.tsx index 7d140380..230666e9 100644 --- a/src/components/ui/CodeMirror.tsx +++ b/src/components/ui/CodeMirror.tsx @@ -249,6 +249,7 @@ const LazyCodeMirrorEditor = forwardRef< return ( <>