@@ -69,9 +68,16 @@ const pageName = computed(() =>
-
-
@@ -144,7 +162,7 @@ const pageName = computed(() =>
}
}
-@media (min-width: 1280px) {
+@media (min-width: 1460px) {
.VPDoc .container {
display: flex;
justify-content: center;
@@ -189,7 +207,10 @@ const pageName = computed(() =>
.aside-container {
position: fixed;
top: 0;
- padding-top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 10px);
+ padding-top: calc(
+ var(--vp-nav-height) + var(--vp-layout-top-height, 0px) +
+ var(--vp-doc-top-height, 0px) + 10px
+ );
width: 224px;
height: 100vh;
overflow-x: hidden;
@@ -204,18 +225,20 @@ const pageName = computed(() =>
.aside-content {
display: flex;
flex-direction: column;
- min-height: calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));
+ min-height: calc(
+ 100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px)
+ );
padding-bottom: 32px;
}
-
.content {
position: relative;
margin: 0 auto;
width: 100%;
border: 1px solid var(--vp-c-border);
border-radius: 4px;
- background-color: var(--vp-c-bg)
+ background-color: var(--vp-c-bg);
+ max-width: 768px;
}
.main {
@@ -250,7 +273,6 @@ const pageName = computed(() =>
max-width: 100%;
}
-
@media (min-width: 640px) {
.content-file {
display: flex;
@@ -302,8 +324,8 @@ const pageName = computed(() =>
}
.no-hover {
- background-color: transparent!important;
- border-color: transparent!important;
+ background-color: transparent !important;
+ border-color: transparent !important;
}
.content-box-icon {
diff --git a/src/theme/components/VPLocalNav.vue b/src/theme/components/VPLocalNav.vue
index fac6e79..fe8d967 100644
--- a/src/theme/components/VPLocalNav.vue
+++ b/src/theme/components/VPLocalNav.vue
@@ -54,7 +54,9 @@ const classes = computed(() => {
@@ -107,7 +109,7 @@ const classes = computed(() => {
}
}
-@media (min-width: 1280px) {
+@media (min-width: 1460px) {
.VPLocalNav {
display: none;
}
@@ -115,7 +117,9 @@ const classes = computed(() => {
@media (min-width: 1440px) {
.VPLocalNav.has-sidebar {
- padding-left: calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width));
+ padding-left: calc(
+ (100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)
+ );
}
}