Skip to content

Commit

Permalink
style(@vben/docs): navigation bar selected item style
Browse files Browse the repository at this point in the history
  • Loading branch information
QFifteen committed Sep 24, 2024
1 parent 6be8315 commit 1b0be29
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/.vitepress/theme/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ html.dark {
.form-valid-error p {
margin: 0;
}

/* 顶部导航栏选中项样式 */
.VPNavBarMenuLink,
.VPNavBarMenuGroup {
border-bottom: 1px solid transparent;
}

.VPNavBarMenuLink.active,
.VPNavBarMenuGroup.active {
border-bottom-color: var(--vp-c-brand-1);
}

0 comments on commit 1b0be29

Please sign in to comment.