mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
perf: 优化大屏幕下 Footer 宽度计算
This commit is contained in:
parent
9ffdf2c5fa
commit
7d5e7a0226
@ -70,6 +70,7 @@ onMounted(() => {
|
||||
@media (min-width: 768px) {
|
||||
.plume-footer {
|
||||
padding: 24px;
|
||||
margin-right: calc(0px - ((100vw - var(--vp-layout-max-width)) / 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -316,6 +316,7 @@
|
||||
|
||||
:root {
|
||||
--vp-layout-max-width: 1440px;
|
||||
--content-width: var(--vp-layout-max-width);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user