Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
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
Administrator
web-monitor
Commits
b97702d6
Commit
b97702d6
authored
Apr 18, 2018
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf[sidebar.css]: perf collapse transition
parent
74bb623d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sidebar.scss
src/styles/sidebar.scss
+3
-0
index.vue
src/views/layout/components/Sidebar/index.vue
+0
-1
No files found.
src/styles/sidebar.scss
View file @
b97702d6
...
...
@@ -7,6 +7,9 @@
}
// 侧边栏
.sidebar-container
{
.horizontal-collapse-transition
{
transition
:
0s
width
ease-in-out
,
0s
padding-left
ease-in-out
,
0s
padding-right
ease-in-out
;
}
transition
:
width
.28s
;
width
:
180px
!
important
;
height
:
100%
;
...
...
src/views/layout/components/Sidebar/index.vue
View file @
b97702d6
...
...
@@ -2,7 +2,6 @@
<scroll-bar>
<el-menu
mode=
"vertical"
:collapse-transition=
"false"
:show-timeout=
"200"
:default-active=
"$route.path"
:collapse=
"isCollapse"
...
...
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