perf: 优化大屏幕下 Footer 宽度计算

This commit is contained in:
pengzhanbo 2024-02-29 04:02:12 +08:00
parent 9ffdf2c5fa
commit 7d5e7a0226
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ onMounted(() => {
@media (min-width: 768px) {
.plume-footer {
padding: 24px;
margin-right: calc(0px - ((100vw - var(--vp-layout-max-width)) / 2));
}
}

View File

@ -316,6 +316,7 @@
:root {
--vp-layout-max-width: 1440px;
--content-width: var(--vp-layout-max-width);
}
/**