Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
150c77cf
authored
Sep 29, 2023
by
owen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix eslint problems
parent
b9881f29
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/layout/components/useRenderLayout.tsx
+7
-7
No files found.
src/layout/components/useRenderLayout.tsx
View file @
150c77cf
...
...
@@ -107,7 +107,7 @@ export const useRenderLayout = () => {
></
ToolHeader
>
{
tagsView
.
value
?
(
<
TagsView
class=
"layout-border__
bottom layout-border__top
"
></
TagsView
>
<
TagsView
class=
"layout-border__
top layout-border__bottom
"
></
TagsView
>
)
:
undefined
}
</
div
>
...
...
@@ -121,13 +121,13 @@ export const useRenderLayout = () => {
const
renderTopLeft
=
()
=>
{
return
(
<>
<
div
class=
"
flex items-center bg-[var(--top-header-bg-color)] relative
layout-border__bottom dark:bg-[var(--el-bg-color)]"
>
<
div
class=
"
relative flex items-center bg-[var(--top-header-bg-color)]
layout-border__bottom dark:bg-[var(--el-bg-color)]"
>
{
logo
.
value
?
<
Logo
class=
"custom-hover"
></
Logo
>
:
undefined
}
<
ToolHeader
class=
"flex-1"
></
ToolHeader
>
</
div
>
<
div
class=
"absolute
top-[var(--logo-height)+1px] left-0 w-full h-[calc(100%-1px-var(--logo-height))]
flex"
>
<
Menu
class=
"
!h-full relative layout-border__right
"
></
Menu
>
<
div
class=
"absolute
left-0 top-[var(--logo-height)+1px] h-[calc(100%-1px-var(--logo-height))] w-full
flex"
>
<
Menu
class=
"
relative layout-border__right !h-full
"
></
Menu
>
<
div
class=
{
[
`${prefixCls}-content`
,
...
...
@@ -187,7 +187,7 @@ export const useRenderLayout = () => {
]
}
>
{
logo
.
value
?
<
Logo
class=
"custom-hover"
></
Logo
>
:
undefined
}
<
Menu
class=
"
flex-1 px-10px h-[var(--top-tool-height)]
"
></
Menu
>
<
Menu
class=
"
h-[var(--top-tool-height)] flex-1 px-10px
"
></
Menu
>
<
ToolHeader
></
ToolHeader
>
</
div
>
<
div
...
...
@@ -233,12 +233,12 @@ export const useRenderLayout = () => {
const
renderCutMenu
=
()
=>
{
return
(
<>
<
div
class=
"
flex items-center bg-[var(--top-header-bg-color)] relative
layout-border__bottom"
>
<
div
class=
"
relative flex items-center bg-[var(--top-header-bg-color)]
layout-border__bottom"
>
{
logo
.
value
?
<
Logo
class=
"custom-hover !pr-15px"
></
Logo
>
:
undefined
}
<
ToolHeader
class=
"flex-1"
></
ToolHeader
>
</
div
>
<
div
class=
"absolute
top-[var(--logo-height)] left-0 w-[calc(100%-2px)] h-[calc(100%-var(--logo-height)
)] flex"
>
<
div
class=
"absolute
left-0 top-[var(--logo-height)] h-[calc(100%-var(--logo-height))] w-[calc(100%-2px
)] flex"
>
<
TabMenu
></
TabMenu
>
<
div
class=
{
[
...
...
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