diff --git a/site/components/geektime.vue b/site/components/geektime.vue
index 154a34042..f6bff27c7 100644
--- a/site/components/geektime.vue
+++ b/site/components/geektime.vue
@@ -5,9 +5,9 @@
target="_blank"
>
@@ -22,8 +22,8 @@ export default {
diff --git a/site/components/layout.vue b/site/components/layout.vue
index 04cd8a142..994dc11d9 100644
--- a/site/components/layout.vue
+++ b/site/components/layout.vue
@@ -268,8 +268,7 @@ export default {
}
-
- {!isMobile ?
+ {!isMobile ?
{this.getSubMenu(isCN)}
: null}
{this.showDemo ?
diff --git a/site/index.less b/site/index.less
index 00bee5b05..f9ccca860 100644
--- a/site/index.less
+++ b/site/index.less
@@ -179,14 +179,14 @@
}
}
.toc-affix {
- width: 120px;
+ width: 150px;
position: fixed;
top: 100px;
right: 10px;
bottom: 250px;
}
.toc-affix .ant-anchor-wrapper {
- max-height: calc(~'100vh - 250px') !important;
+ max-height: calc(~'100vh - 400px') !important;
}
.drawer-wrapper .drawer-content {
diff --git a/site/theme/static/common.less b/site/theme/static/common.less
index a8bbab111..bb1b5c324 100644
--- a/site/theme/static/common.less
+++ b/site/theme/static/common.less
@@ -29,7 +29,7 @@ a {
}
.main-container {
- padding: 0 170px 144px 64px;
+ padding: 0 200px 144px 64px;
background: #fff;
min-height: 500px;
overflow: hidden;