fix(docs): fix the selected state of the top navigation bar (#4499)

* fix(@vben/docs): fix the selected state of the top navigation bar

* style(@vben/docs): navigation bar selected item style
This commit is contained in:
Fifteen
2024-09-25 09:53:55 +08:00
committed by GitHub
parent 79c87c9f46
commit abbbbfb955
3 changed files with 21 additions and 0 deletions

View File

@@ -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);
}