perf: 调整 Footer 布局

This commit is contained in:
pengzhanbo 2024-03-02 21:27:38 +08:00
parent 471084ff23
commit 05487158cc
2 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,6 @@ onMounted(() => {
position: relative;
z-index: var(--vp-z-index-footer);
padding: 24px;
background-color: var(--vp-c-bg);
border-top: 1px solid var(--vp-c-gutter);
transition: all var(--t-color);
}
@ -70,6 +69,9 @@ onMounted(() => {
@media (min-width: 768px) {
.plume-footer {
padding: 24px;
}
.plume-footer.has-sidebar {
margin-right: calc(0px - ((100vw - var(--vp-layout-max-width)) / 2));
}
}

View File

@ -30,7 +30,7 @@
line-height: 32px;
letter-spacing: -0.02em;
border-top: 1px solid var(--vp-c-divider);
transition: border-top var(--t-color);
transition: border-top var(--t-color), color var(--t-color);
}
.plume-content h2:first-of-type {