fix: 修正右侧目录栏的高度
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user