File tree Expand file tree Collapse file tree 3 files changed +28
-20
lines changed Expand file tree Collapse file tree 3 files changed +28
-20
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ module.exports = {
110
110
items : [
111
111
{
112
112
text : 'Vue Curated' ,
113
- link : 'ttps ://curated.vuejs.org/'
113
+ link : 'https ://curated.vuejs.org/'
114
114
} ,
115
115
{
116
116
text : 'Awesome Vue' ,
Original file line number Diff line number Diff line change 12
12
<span class =" arrow" ></span >
13
13
<ul class =" nav-dropdown" >
14
14
<li
15
+ class =" dropdown-item"
15
16
v-for =" subItem in item.items"
16
17
:key =" subItem.link" >
17
18
<h4 v-if =" subItem.type === 'links'" >{{ subItem.text }}</h4 >
18
- <ul v-if =" subItem.type === 'links'" >
19
+ <ul class = " dropdown-subitem-wrapper " v-if =" subItem.type === 'links'" >
19
20
<li
21
+ class =" dropdown-subitem"
20
22
v-for =" childSubItem in subItem.items"
21
23
:key =" childSubItem.link" >
22
24
<nav-link :item =" childSubItem" ></nav-link >
@@ -100,9 +102,18 @@ export default {
100
102
border-right 4px solid transparent
101
103
border-top 5px solid #c c c
102
104
.nav-dropdown
103
- li
105
+ .dropdown-item
104
106
color inherit
105
107
line-height 1.7rem
108
+ h4
109
+ margin 0.45rem 0 0
110
+ border-top 1px solid #e e e
111
+ padding 0.45rem 1.5rem 0 1.25rem
112
+ .dropdown-subitem-wrapper
113
+ padding 0
114
+ list-style none
115
+ .dropdown-subitem
116
+ font-size 0.9em
106
117
a
107
118
display block
108
119
height 1.7rem
@@ -130,13 +141,6 @@ export default {
130
141
margin-top 0
131
142
padding-top 0
132
143
border-top 0
133
- & > h4
134
- margin 0.45rem 0 0
135
- border-top 1px solid #e e e
136
- padding 0.45rem 1.5rem 0 1.25rem
137
- & > ul
138
- padding 0
139
- list-style none
140
144
.github-link
141
145
margin-left 1.5rem
142
146
Original file line number Diff line number Diff line change @@ -90,17 +90,21 @@ function resolveOpenGroupIndex (route, items) {
90
90
.nav-item .dropdown-wrapper
91
91
.dropdown-title
92
92
display inline-block
93
- margin-bottom 5 px
93
+ margin-bottom 0.5 rem
94
94
.nav-dropdown
95
- li , h4
96
- font-size 15px
97
- line-height 1.7rem
98
- h4
99
- border-top 0
100
- margin-top 0
101
- padding-top 0
102
- ul > li
103
- padding-left 1rem
95
+ .dropdown-item
96
+ h4
97
+ border-top 0
98
+ margin-top 0
99
+ padding-top 0
100
+ h4 , & > a
101
+ font-size 15px
102
+ height 2rem
103
+ line-height 2rem
104
+ .dropdown-subitem
105
+ font-size 14px
106
+ padding-left 1rem
107
+
104
108
.sidebar-links
105
109
margin-top 1.5rem
106
110
You can’t perform that action at this time.
0 commit comments