Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d47d051b
authored
Aug 27, 2024
by
Li Kui
Committed by
GitHub
Aug 27, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: search and menu buttons overlapped (#4249)
1 parent
3b5c935b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
packages/effects/layouts/src/basic/layout.vue
packages/effects/layouts/src/basic/layout.vue
View file @
d47d051
...
@@ -78,23 +78,17 @@ const isMenuRounded = computed(() => {
...
@@ -78,23 +78,17 @@ const isMenuRounded = computed(() => {
});
});
const
logoCollapsed
=
computed
(()
=>
{
const
logoCollapsed
=
computed
(()
=>
{
const
shouldCollapse
=
isHeaderNav
.
value
||
isMixedNav
.
value
;
if
(
isMobile
.
value
)
{
return
true
;
if
(
shouldCollapse
)
{
return
false
;
}
}
if
(
isHeaderNav
.
value
||
isMixedNav
.
value
)
{
const
shouldExpandOnMobile
=
!
sidebarCollapsed
.
value
&&
isMobile
.
value
;
if
(
shouldExpandOnMobile
)
{
return
false
;
return
false
;
}
}
return
sidebarCollapsed
.
value
||
isSideMixedNav
.
value
;
return
sidebarCollapsed
.
value
||
isSideMixedNav
.
value
;
});
});
const
showHeaderNav
=
computed
(()
=>
{
const
showHeaderNav
=
computed
(()
=>
{
return
isHeaderNav
.
value
||
isMixedNav
.
value
;
return
!
isMobile
.
value
&&
(
isHeaderNav
.
value
||
isMixedNav
.
value
)
;
});
});
// 侧边多列菜单
// 侧边多列菜单
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment