Skip to content

Commit 4c92b78

Browse files
committed
update site
1 parent 9f9ab21 commit 4c92b78

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

site/components/geektime.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
target="_blank"
66
>
77
<img
8-
width="160"
8+
width="150"
99
alt="Vue 实战教程"
10-
src="https://cdn.nlark.com/yuque/0/2019/gif/87084/1552897186489-assets/web-upload/3ac01ea3-9c6f-4f23-b52e-d47dae5532d2.gif"
10+
src="https://cdn.nlark.com/yuque/0/2019/jpeg/87084/1552980096914-assets/web-upload/ec3701d2-34ed-4274-b8f4-e0592e020db0.jpeg"
1111
>
1212
</a>
1313
</div>
@@ -22,8 +22,8 @@ export default {
2222
<style lang="less">
2323
#geektime {
2424
position: fixed;
25-
bottom: 6px;
26-
right: 6px;
25+
bottom: 15px;
26+
right: 15px;
2727
}
2828
</style>
2929

site/components/layout.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,7 @@ export default {
268268
}
269269
<a-col xxl={20} xl={19} lg={19} md={18} sm={24} xs={24}>
270270
<section class='main-container main-container-component'>
271-
<CarbonAds isMobile={isMobile}/>
272-
{!isMobile ? <div class='toc-affix' style='width: 120px;'>
271+
{!isMobile ? <div class='toc-affix' style='width: 150px;'>
273272
{this.getSubMenu(isCN)}
274273
</div> : null}
275274
{this.showDemo ? <Provider store={this.store} key={isCN ? 'cn' : 'en'}>

site/index.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@
179179
}
180180
}
181181
.toc-affix {
182-
width: 120px;
182+
width: 150px;
183183
position: fixed;
184184
top: 100px;
185185
right: 10px;
186186
bottom: 250px;
187187
}
188188
.toc-affix .ant-anchor-wrapper {
189-
max-height: calc(~'100vh - 250px') !important;
189+
max-height: calc(~'100vh - 400px') !important;
190190
}
191191

192192
.drawer-wrapper .drawer-content {

site/theme/static/common.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ a {
2929
}
3030

3131
.main-container {
32-
padding: 0 170px 144px 64px;
32+
padding: 0 200px 144px 64px;
3333
background: #fff;
3434
min-height: 500px;
3535
overflow: hidden;

0 commit comments

Comments
 (0)