Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
a3fec114
Unverified
Commit
a3fec114
authored
Aug 24, 2023
by
crazywoola
Committed by
GitHub
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: styles (#1005)
parent
b1fd1b3a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
layout.tsx
web/app/(shareLayout)/layout.tsx
+5
-3
index.tsx
web/app/components/share/chat/index.tsx
+2
-2
index.tsx
web/app/components/share/chatbot/index.tsx
+1
-1
No files found.
web/app/(shareLayout)/layout.tsx
View file @
a3fec114
...
...
@@ -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
>
)
}
...
...
web/app/components/share/chat/index.tsx
View file @
a3fec114
...
...
@@ -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'
,
)
}
>
...
...
web/app/components/share/chatbot/index.tsx
View file @
a3fec114
...
...
@@ -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'
,
)
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment