From f13623184a96bb633f3d7722478d566d50158d27 Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Thu, 24 Aug 2023 17:57:25 +0800 Subject: [PATCH] fix style in app share (#995) --- web/app/(shareLayout)/layout.tsx | 12 +++++------- web/app/components/share/chat/index.tsx | 6 +++--- web/app/components/share/chat/sidebar/index.tsx | 2 +- web/app/components/share/chatbot/index.tsx | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/web/app/(shareLayout)/layout.tsx b/web/app/(shareLayout)/layout.tsx index f629943f86..2ccd917c06 100644 --- a/web/app/(shareLayout)/layout.tsx +++ b/web/app/(shareLayout)/layout.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React from 'react' import type { FC } from 'react' import GA, { GaType } from '@/app/components/base/ga' @@ -6,13 +6,11 @@ const Layout: FC<{ children: React.ReactNode }> = ({ children }) => { return ( -
-
- - {children} -
+
+ + {children}
) } -export default Layout \ No newline at end of file +export default Layout diff --git a/web/app/components/share/chat/index.tsx b/web/app/components/share/chat/index.tsx index 7ba0ad69e3..f0f1aea956 100644 --- a/web/app/components/share/chat/index.tsx +++ b/web/app/components/share/chat/index.tsx @@ -574,7 +574,7 @@ const Main: FC = ({ return return ( -
+
{!isInstalledApp && (
= ({
= ({ )} {/* main */}
diff --git a/web/app/components/share/chat/sidebar/index.tsx b/web/app/components/share/chat/sidebar/index.tsx index f80ee6a950..937ec3e65c 100644 --- a/web/app/components/share/chat/sidebar/index.tsx +++ b/web/app/components/share/chat/sidebar/index.tsx @@ -85,7 +85,7 @@ const Sidebar: FC = ({
= ({