File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 2
2
<div id =" app" >
3
3
<div id =" nav" >
4
4
<router-link to =" /" >home</router-link >
5
+ <span class =" line" >|</span >
5
6
<router-link to =" /fixed-size" >fixed size</router-link >
7
+ <span class =" line" >|</span >
6
8
<router-link to =" /dynamic-size" >dynamic size</router-link >
9
+ <span class =" line" >|</span >
7
10
<router-link to =" /horizontal" >horizontal</router-link >
11
+ <span class =" line" >|</span >
8
12
<router-link to =" /infinite-loading" >infinite loading</router-link >
13
+ <span class =" line" >|</span >
9
14
<router-link to =" /keep-state" >keep state</router-link >
15
+ <span class =" line" >|</span >
10
16
<router-link to =" /chat-room" >chat room</router-link >
11
17
</div >
12
18
<router-view />
33
39
background-color : #9b4cca ;
34
40
color : #fff ;
35
41
height : 40px ;
36
- line-height : 40px ;
42
+ display : flex ;
43
+ align-items : center ;
37
44
padding-left : 2em ;
38
45
@media (max-width : 640px ) {
39
46
padding : 0 ;
@@ -43,12 +50,10 @@ body {
43
50
background-color : unset ;
44
51
color : unset ;
45
52
height : unset ;
46
- line-height : unset ;
47
53
padding-left : unset ;
54
+ align-items : unset ;
48
55
}
49
56
a {
50
- margin-right : 1.5em ;
51
- margin-bottom : .5em ;
52
57
display : inline-block ;
53
58
color : #fff ;
54
59
@media (max-width : 640px ) {
@@ -57,6 +62,14 @@ body {
57
62
color : #9b4dca ;
58
63
}
59
64
}
65
+ .line {
66
+ margin : 0 1em ;
67
+ font-size : 14px ;
68
+ color : darkgray ;
69
+ @media (max-width : 640px ) {
70
+ display : none ;
71
+ }
72
+ }
60
73
.router-link-exact-active ,
61
74
.router-link-exact-active :hover {
62
75
color : inherit ;
You can’t perform that action at this time.
0 commit comments