Skip to content

Commit

Permalink
fix navbar css
Browse files Browse the repository at this point in the history
  • Loading branch information
lslzl3000 committed Mar 30, 2024
1 parent 1056c39 commit b904e77
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 110 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
padding-left: var(--vp-sidebar-width) !important;
padding-right: none !important;
}
.VPNavBar.has-sidebar > .container > .content {
.VPNavBar.has-sidebar .container > .content {
padding-left: var(--vp-sidebar-width) !important;
padding-right: 32px !important;
}
.VPNavBar.has-sidebar .curtain {
width: calc(100% - var(--vp-sidebar-width) - 32px) !important;
}
.VPNavBar.has-sidebar > .container > .title {
.VPNavBar.has-sidebar .container > .title {
width: var(--vp-sidebar-width) !important;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/node": "^18.18.8",
"esbuild": "^0.17.19",
"prettier": "^2.8.8",
"vitepress": "1.0.0-rc.40",
"vitepress": "1.0.0-rc.45",
"vue": "^3.3.7"
},
"pnpm": {
Expand Down
Loading

0 comments on commit b904e77

Please sign in to comment.