Skip to content

Commit a22da0e

Browse files
authored
Vertically center current nav-link indication (#2506)
The link '.nav-link.current' indication arrow currently is a little bit out of place. The indication arrow will now be vertically centered.
1 parent 3152950 commit a22da0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/vue/source/css/_header.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ body.docs
6060
border-bottom: 3px solid transparent
6161
position: absolute
6262
top: 50%
63-
margin-top: -4px
63+
transform: translateY(-50%)
6464
left: 8px
6565
&.new::before
6666
red-dot-before(8px)

0 commit comments

Comments
 (0)