Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-static-bg
Project
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
姜雷
cdsf-static-bg
Commits
f61d3230
Commit
f61d3230
authored
Oct 11, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加下标
parent
9b7de110
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
sidebar.scss
src/assets/styles/sidebar.scss
+1
-1
Layout.vue
src/containers/layout/Layout.vue
+13
-1
No files found.
src/assets/styles/sidebar.scss
View file @
f61d3230
...
...
@@ -4,7 +4,7 @@ $sideBar-width: 250px;
.main-container
{
display
:
flex
;
flex-direction
:
column
;
max-height
:
calc
(
100vh
-
7
0px
);
max-height
:
calc
(
100vh
-
10
0px
);
transition
:
margin-left
0
.28s
;
margin-left
:
$sideBar-width
;
}
// 侧边栏
...
...
src/containers/layout/Layout.vue
View file @
f61d3230
...
...
@@ -8,7 +8,6 @@
<UserBox></UserBox>
</div>
<div>
<sidebar
class=
"sidebar-container"
></sidebar>
<div
class=
"main-container"
>
<navbar></navbar>
...
...
@@ -16,6 +15,9 @@
<app-main></app-main>
</div>
</div>
<!--
<div
class=
"copyright"
>
@copyright
</div>
-->
</div>
</
template
>
...
...
@@ -49,6 +51,16 @@
margin-left
:
67px
;
text-indent
:
20px
;
}
.copyright
{
box-sizing
:
border-box
;
width
:
100%
;
height
:
30px
;
line-height
:
30px
;
text-align
:
center
;
position
:
absolute
;
top
:
calc
(
100vh
-
30px
);
padding-left
:
250px
;
}
}
</
style
>
...
...
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