From 4c92b78b1fc6f4ef129126a7f2bc055f37c8fe88 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 19 Mar 2019 15:35:51 +0800 Subject: [PATCH] update site --- site/components/geektime.vue | 8 ++++---- site/components/layout.vue | 3 +-- site/index.less | 4 ++-- site/theme/static/common.less | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) 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" > Vue 实战教程 @@ -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;