Browse Source

Fix spec/layout demo, close #4816

pull/4817/head
afc163 8 years ago
parent
commit
df2982aacf
  1. 8
      docs/spec/layout/demo/top-aside.md
  2. 6
      docs/spec/layout/demo/top.md

8
docs/spec/layout/demo/top-aside.md

@ -1,6 +1,6 @@
---
order: 1
title:
title:
zh-CN: 顶部导航 + 侧边栏
en-US: Top aside
---
@ -36,9 +36,9 @@ ReactDOM.render(
<div className="layout-wrapper">
<Menu mode="horizontal"
defaultSelectedKeys={['1']} style={{marginLeft: 124}}>
<Menu.Item key="1">The second level navigation</Menu.Item>
<Menu.Item key="2">The second level navigation</Menu.Item>
<Menu.Item key="3">The second level navigation</Menu.Item>
<Menu.Item key="1">Second nav</Menu.Item>
<Menu.Item key="2">Second nav</Menu.Item>
<Menu.Item key="3">Second nav</Menu.Item>
</Menu>
</div>
</div>

6
docs/spec/layout/demo/top.md

@ -45,9 +45,9 @@ ReactDOM.render(
<div className="layout-wrapper">
<Menu mode="horizontal"
defaultSelectedKeys={['1']} style={{marginLeft: 124}}>
<Menu.Item key="1">The second level navigation</Menu.Item>
<Menu.Item key="2">The second level navigation</Menu.Item>
<Menu.Item key="3">The second level navigation</Menu.Item>
<Menu.Item key="1">Second nav</Menu.Item>
<Menu.Item key="2">Second nav</Menu.Item>
<Menu.Item key="3">Second nav</Menu.Item>
</Menu>
</div>
</div>

Loading…
Cancel
Save