Skip to content

Commit 4a14110

Browse files
vuejs-jp-botkazupon
authored andcommitted
fix nav-dropdown styles on mobile (vuejs#358)
1 parent a2619ce commit 4a14110

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

themes/vue/source/css/_header.styl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ body.docs
3131
position: relative
3232
margin: 0 .6em
3333

34+
.nav-dropdown
35+
.nav-link
36+
&:hover, &.current
37+
border-bottom: none
38+
&.current
39+
&::after
40+
content: ""
41+
width: 0
42+
height: 0
43+
border-left: 5px solid $green
44+
border-top: 3px solid transparent
45+
border-bottom: 3px solid transparent
46+
position: absolute
47+
top: 50%
48+
margin-top: -4px
49+
left: 8px
50+
3451
.nav-link
3552
padding-bottom: 3px
3653
&:hover, &.current

0 commit comments

Comments
 (0)