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
597053c3
Commit
597053c3
authored
Mar 07, 2024
by
JzoNg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix style of app info
parent
29bef1e3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
app-info.tsx
web/app/components/app-sidebar/app-info.tsx
+1
-1
index.tsx
web/app/components/app-sidebar/index.tsx
+3
-0
No files found.
web/app/components/app-sidebar/app-info.tsx
View file @
597053c3
...
@@ -156,7 +156,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
...
@@ -156,7 +156,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
>
>
<
div
className=
{
cn
(
'flex cursor-pointer p-1 rounded-lg hover:bg-gray-100'
,
open
&&
'bg-gray-100'
)
}
>
<
div
className=
{
cn
(
'flex cursor-pointer p-1 rounded-lg hover:bg-gray-100'
,
open
&&
'bg-gray-100'
)
}
>
<
div
className=
'shrink-0 mr-2'
>
<
div
className=
'shrink-0 mr-2'
>
<
AppIcon
size=
{
expand
?
'large'
:
'
medium
'
}
icon=
{
appDetail
.
icon
}
background=
{
appDetail
.
icon_background
}
/>
<
AppIcon
size=
{
expand
?
'large'
:
'
small
'
}
icon=
{
appDetail
.
icon
}
background=
{
appDetail
.
icon_background
}
/>
</
div
>
</
div
>
{
expand
&&
(
{
expand
&&
(
<
div
className=
"grow w-0"
>
<
div
className=
"grow w-0"
>
...
...
web/app/components/app-sidebar/index.tsx
View file @
597053c3
...
@@ -74,6 +74,9 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
...
@@ -74,6 +74,9 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
/>
/>
)
}
)
}
</
div
>
</
div
>
{
!
expand
&&
(
<
div
className=
'mt-1 mx-auto w-6 h-[1px] bg-gray-100'
/>
)
}
<
nav
<
nav
className=
{
`
className=
{
`
grow space-y-1 bg-white
grow space-y-1 bg-white
...
...
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