Skip to content

Commit 5fcac1b

Browse files
committed
fix: active side arrow not middle align (#508).
1 parent 131ce1d commit 5fcac1b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: lib/default-theme/DropdownLink.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default {
9595
border-top 3px solid transparent
9696
border-bottom 3px solid transparent
9797
position absolute
98-
top calc(1rem - 2px)
98+
top calc(50% - 2px)
9999
left 9px
100100
&:first-child h4
101101
margin-top 0

Diff for: lib/default-theme/Sidebar.vue

+2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ function resolveOpenGroupIndex (route, items) {
9797
.sidebar
9898
.nav-links
9999
display block
100+
.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active::after
101+
top calc(1rem - 2px)
100102
.sidebar-links
101103
padding 1rem 0
102104
</style>

0 commit comments

Comments
 (0)