mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix(theme): fix incorrect footer layout (#120)
在1440px屏幕的情况下,sidebar的宽度就应该等于footer的margin-left的值,但是目前却没有处理,导致样式错乱了
This commit is contained in:
parent
c259c484e2
commit
0510e261df
@ -87,6 +87,12 @@ onMounted(() => {
|
||||
.vp-footer {
|
||||
padding: 24px;
|
||||
}
|
||||
.vp-footer.has-sidebar {
|
||||
margin-left: calc(
|
||||
(100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) -
|
||||
32px
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user