Skip to content

Commit 16b1ead

Browse files
committed
site support mobile
1 parent 11e2bc8 commit 16b1ead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/components/layout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default {
154154
<a-locale-provider locale={locale}>
155155
<div class='main-wrapper'>
156156
<a-row>
157-
<a-col xxl={4} xl={5} lg={5} md={6} sm={24} xs={24}>
157+
<a-col span={6} style={{ maxWidth: '260px' }}>
158158
<a-menu
159159
class='aside-container menu-site'
160160
selectedKeys={[name]}
@@ -167,7 +167,7 @@ export default {
167167
</a-sub-menu>
168168
</a-menu>
169169
</a-col>
170-
<a-col xxl={20} xl={19} lg={19} md={18} sm={0} xs={0}>
170+
<a-col span={18}>
171171
<div class='content main-container'>
172172
<div class='toc-affix' style='width: 110px;'>
173173
{this.getSubMenu(isCN)}

0 commit comments

Comments
 (0)