Skip to content

Commit d3db055

Browse files
committed
docs: update site #117
1 parent c9431d1 commit d3db055

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

site/components/footer.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default {
6868
</a>
6969
</div>
7070
<div>
71-
<a rel='noopener noreferrer' target='_blank' href='https://vuecomponent.github.io/issue-helper/?lang=zh'>
71+
<a rel='noopener noreferrer' target='_blank' href={`https://vuecomponent.github.io/issue-helper/${isCN ? '?lang=zh' : ''}`}>
7272
<span>{isCN ? '报告 Bug' : 'Bug Report'}</span>
7373
</a>
7474
</div>

site/components/layout.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default {
122122
return docsMenu
123123
},
124124
resetDocumentTitle (component, name, isCN) {
125-
let titleStr = 'Vue Antd'
125+
let titleStr = 'Ant Design Vue'
126126
if (component) {
127127
const { subtitle, title } = component
128128
const componentName = isCN ? subtitle + ' ' + title : title
@@ -236,8 +236,8 @@ export default {
236236
<div v-show={!showSideBars} class='open-drawer' onClick={() => { this.showSideBars = true }}>
237237
<a-icon type='bars'/>
238238
</div>
239-
<a-col style='float: right;' xxl={20} xl={19} lg={19} md={18} sm={24} xs={24}>
240-
<div class='content main-container'>
239+
<a-col class='main-container' xxl={20} xl={19} lg={19} md={18} sm={24} xs={24}>
240+
<div class='content'>
241241
<div class='toc-affix' style='width: 120px;'>
242242
{this.getSubMenu(isCN)}
243243
</div>

site/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
99
<meta http-equiv="Pragma" content="no-cache">
1010
<meta http-equiv="Expires" content="0">
11+
<meta name="description" content="An enterprise-class UI components based on Ant Design and Vue">
12+
<title>Ant Design Vue</title>
1113
<link rel="icon" type="image/x-icon" href="https://raw.githubusercontent.com/vueComponent/ant-design-vue/master/logo.png">
1214
<style id="nprogress-style">
1315
#nprogress {

site/index.less

+9-6
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,14 @@
9494
font-size: 12px;
9595
}
9696
}
97+
.site-sidebar{
98+
z-index: 1;
99+
}
97100
@media only screen and (max-width: 767.99px) {
98101
.site-sidebar{
99102
position: fixed;
100103
z-index: 1;
101104
overflow-y: scroll;
102-
}
103-
.main-wrapper {
104-
z-index: 11;
105-
margin-top: 0px;
106-
}
107-
.site-sidebar{
108105
width: 100%;
109106
top: 0;
110107
left: 0;
@@ -114,8 +111,14 @@
114111
z-index: 1;
115112
position: relative;
116113
min-height: 100%;
114+
border-right: 1px solid #e8e8e8;
117115
}
118116
}
117+
.main-wrapper {
118+
z-index: 11;
119+
margin-top: 0px;
120+
}
121+
119122
.drawer-mask{
120123
background: #000;
121124
opacity: 0;

0 commit comments

Comments
 (0)