Skip to content

Commit

Permalink
fix: active side arrow not middle align (#508).
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed May 27, 2018
1 parent 131ce1d commit 5fcac1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default-theme/DropdownLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default {
border-top 3px solid transparent
border-bottom 3px solid transparent
position absolute
top calc(1rem - 2px)
top calc(50% - 2px)
left 9px
&:first-child h4
margin-top 0
Expand Down
2 changes: 2 additions & 0 deletions lib/default-theme/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ function resolveOpenGroupIndex (route, items) {
.sidebar
.nav-links
display block
.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active::after
top calc(1rem - 2px)
.sidebar-links
padding 1rem 0
</style>

0 comments on commit 5fcac1b

Please sign in to comment.