mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-25 11:28:13 +08:00
fix(theme): navbar divider overflow, close #104
This commit is contained in:
parent
3817b64bb7
commit
75e72761b5
@ -240,6 +240,12 @@ watchPostEffect(() => {
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
@media (min-width: 960px) {
|
||||
.vp-navbar.has-sidebar .divider {
|
||||
padding-left: var(--vp-sidebar-width);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1440px) {
|
||||
.vp-navbar.has-sidebar .divider {
|
||||
padding-left: calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user