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
ec777ff3
Commit
ec777ff3
authored
Jul 18, 2023
by
StyleZhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix style
parent
d0ca8af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.tsx
web/app/components/header/account-dropdown/index.tsx
+3
-3
No files found.
web/app/components/header/account-dropdown/index.tsx
View file @
ec777ff3
...
@@ -20,7 +20,7 @@ import { LogOut01 } from '@/app/components/base/icons/src/vender/line/general'
...
@@ -20,7 +20,7 @@ import { LogOut01 } from '@/app/components/base/icons/src/vender/line/general'
export
default
function
AppSelector
()
{
export
default
function
AppSelector
()
{
const
itemClassName
=
`
const
itemClassName
=
`
flex items-center w-full h-9 px-3 text-gray-700 text-[14px]
flex items-center w-full h-9 px-3 text-gray-700 text-[14px]
rounded-lg font-normal hover:bg-gray-
10
0 cursor-pointer
rounded-lg font-normal hover:bg-gray-
5
0 cursor-pointer
`
`
const
router
=
useRouter
()
const
router
=
useRouter
()
const
[
settingVisible
,
setSettingVisible
]
=
useState
(
false
)
const
[
settingVisible
,
setSettingVisible
]
=
useState
(
false
)
...
@@ -101,7 +101,7 @@ export default function AppSelector() {
...
@@ -101,7 +101,7 @@ export default function AppSelector() {
}
}
target=
'_blank'
>
target=
'_blank'
>
<
div
>
{
t
(
'common.userProfile.helpCenter'
)
}
</
div
>
<
div
>
{
t
(
'common.userProfile.helpCenter'
)
}
</
div
>
<
ArrowUpRight
className=
'hidden w-
4 h-4
text-gray-500 group-hover:flex'
/>
<
ArrowUpRight
className=
'hidden w-
[14px] h-[14px]
text-gray-500 group-hover:flex'
/>
</
Link
>
</
Link
>
</
Menu
.
Item
>
</
Menu
.
Item
>
<
Menu
.
Item
>
<
Menu
.
Item
>
...
@@ -120,7 +120,7 @@ export default function AppSelector() {
...
@@ -120,7 +120,7 @@ export default function AppSelector() {
className=
'flex items-center justify-between h-9 px-3 rounded-lg cursor-pointer group hover:bg-gray-100'
className=
'flex items-center justify-between h-9 px-3 rounded-lg cursor-pointer group hover:bg-gray-100'
>
>
<
div
className=
'font-normal text-[14px] text-gray-700'
>
{
t
(
'common.userProfile.logout'
)
}
</
div
>
<
div
className=
'font-normal text-[14px] text-gray-700'
>
{
t
(
'common.userProfile.logout'
)
}
</
div
>
<
LogOut01
className=
'hidden w-
4 h-4
text-gray-500 group-hover:flex'
/>
<
LogOut01
className=
'hidden w-
[14px] h-[14px]
text-gray-500 group-hover:flex'
/>
</
div
>
</
div
>
</
div
>
</
div
>
</
Menu
.
Item
>
</
Menu
.
Item
>
...
...
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