1
0

fix: 修正右侧目录栏的高度

This commit is contained in:
2025-10-09 23:18:50 +08:00
parent 7c645c8cf1
commit eb7b1a5a68
2 changed files with 15 additions and 2 deletions

View File

@@ -31,12 +31,14 @@ const siteLinks = computed(() => {
<style lang="less">
.site-footer {
padding: 32px 0;
display: flex;
align-items: center;
justify-content: center;
height: var(--site-footer-height);
background-color: var(--vp-c-bg-alt);
color: var(--vp-c-text-1);
font-size: 14px;
line-height: 2;
text-align: center;
user-select: none;
a {

View File

@@ -1,4 +1,5 @@
:root {
--site-footer-height: 80px;
--vp-c-indigo-1: #1E88E5;
--vp-c-indigo-2: #2196F3;
--vp-c-indigo-3: #42A5F5;
@@ -21,3 +22,13 @@
top: 0;
}
}
.VPDoc {
// 修正右侧目录栏的高度
.aside-curtain {
bottom: var(--site-footer-height);
}
.aside-container {
height: calc(100vh - 80px);
}
}