Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: styles (#1005)

crazywoolaa3fec11438a5
diff --git a/web/app/(shareLayout)/layout.tsx b/web/app/(shareLayout)/layout.tsx
index 2ccd917c066..9e3e8ad4fb2 100644
--- a/web/app/(shareLayout)/layout.tsx
+++ b/web/app/(shareLayout)/layout.tsx
@@ -6,9 +6,11 @@ const Layout: FC<{
children: React.ReactNode
}> = ({ children }) => {
return (
- <div className="min-w-[300px]">
- <GA gaType={GaType.webapp} />
- {children}
+ <div className=''>
+ <div className="min-w-[300px]">
+ <GA gaType={GaType.webapp} />
+ {children}
+ </div>
</div>
)
}
diff --git a/web/app/components/share/chat/index.tsx b/web/app/components/share/chat/index.tsx
index f0f1aea9561..31bc3776686 100644
--- a/web/app/components/share/chat/index.tsx
+++ b/web/app/components/share/chat/index.tsx
@@ -574,7 +574,7 @@ const Main: FC<IMainProps> = ({
return <Loading type='app' />
return (
- <div className='bg-gray-100 flex w-full h-full'>
+ <div className='bg-gray-100'>
{!isInstalledApp && (
<Header
title={siteInfo.title}
@@ -611,7 +611,7 @@ const Main: FC<IMainProps> = ({
)}
{/* main */}
<div className={cn(
- isInstalledApp ? s.installedApp : '',
+ isInstalledApp ? s.installedApp : 'h-screen',
'flex-grow flex flex-col overflow-y-auto',
)
}>
diff --git a/web/app/components/share/chatbot/index.tsx b/web/app/components/share/chatbot/index.tsx
index f8168d5b381..5602294c42c 100644
--- a/web/app/components/share/chatbot/index.tsx
+++ b/web/app/components/share/chatbot/index.tsx
@@ -510,7 +510,7 @@ const Main: FC<IMainProps> = ({
<div className={'flex bg-white overflow-hidden'}>
<div className={cn(
- isInstalledApp ? s.installedApp : '',
+ isInstalledApp ? s.installedApp : 'h-[calc(100vh_-_3rem)]',
'flex-grow flex flex-col overflow-y-auto',
)
}>