Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
Details
Activity
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
tianzhuanghu
ant-design-pro-vue
Commits
2ddf9e9d
Commit
2ddf9e9d
authored
Nov 24, 2018
by
sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: display problem in sidebar mobile mode
parent
36161d6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
GlobalLayout.vue
src/components/page/GlobalLayout.vue
+8
-2
No files found.
src/components/page/GlobalLayout.vue
View file @
2ddf9e9d
...
...
@@ -47,7 +47,7 @@
</a-drawer>
</
template
>
<a-layout
:class=
"[layoutMode]"
:style=
"{ paddingLeft: fixedSideMenu ? `${sidebarOpened ? 256 : 80}px` : '0' }"
>
<a-layout
:class=
"[layoutMode]"
:style=
"{ paddingLeft: fixedSideMenu
&& device === 'desktop'
? `${sidebarOpened ? 256 : 80}px` : '0' }"
>
<!-- layout header -->
<global-header
:mode=
"layoutMode"
:theme=
"theme"
:collapsed=
"collapsed"
:device=
"device"
@
toggle=
"toggle"
/>
...
...
@@ -149,8 +149,14 @@
overflow-y
:
auto
;
}
}
.sidemenu
{
.ant-header-fixedHeader
{
&.ant-header-side-opened,
&.ant-header-side-closed
{
width
:
100%
}
}
}
}
...
...
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