Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1d35d3

Browse files
ecosystem dropdown tweaks
1 parent 862851a commit c1d35d3

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<li class="nav-dropdown-container">
1+
<li class="nav-dropdown-container ecosystem">
22
<a class="nav-link">Ecosystem</a><span class="arrow"></span>
33
<ul class="nav-dropdown">
4-
<li><a href="https://vuex.vuejs.org/en/" class="nav-link" target="_blank">Vuex</a></li>
5-
<li><a href="https://router.vuejs.org/en/" class="nav-link" target="_blank">Vue Router</a></li>
4+
<li><a href="https://router.vuejs.org/" class="nav-link" target="_blank">vue-router</a></li>
5+
<li><a href="https://vuex.vuejs.org/" class="nav-link" target="_blank">vuex</a></li>
6+
<li><a href="https://github.com/vuejs/vue-cli" class="nav-link" target="_blank">vue-cli</a></li>
7+
<li><a href="https://github.com/vuejs/awesome-vue" class="nav-link" target="_blank">awesome-vue</a></li>
68
</ul>
79
</li>

‎themes/vue/source/css/_common.styl‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ a.button
150150
&:hover
151151
.nav-dropdown
152152
display block
153+
&.ecosystem
154+
margin-left 20px
153155
.nav-dropdown
154156
display none
155157
position absolute
@@ -161,6 +163,7 @@ a.button
161163
border-bottom-color #ccc
162164
text-align left
163165
border-radius 4px
166+
white-space nowrap
164167
li
165168
line-height 1.8em
166169
margin 0
@@ -169,7 +172,7 @@ a.button
169172
color $light
170173
font-size .9em
171174
display block
172-
padding 0 30px 0 20px
175+
padding 0 24px 0 20px
173176
&:hover
174177
color $green
175178
.arrow

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /