Browse Source

fix menu border in demo

pull/6652/head
afc163 8 years ago
parent
commit
a5cc8b33e3
  1. 2
      components/layout/__tests__/__snapshots__/demo.test.js.snap
  2. 2
      components/layout/demo/top-side-2.md

2
components/layout/__tests__/__snapshots__/demo.test.js.snap

@ -1205,7 +1205,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = `
aria-activedescendant=""
class="ant-menu ant-menu-inline ant-menu-light ant-menu-root"
role="menu"
style="height:100%;"
style="height:100%;border-right:0;"
tabindex="0"
>
<li

2
components/layout/demo/top-side-2.md

@ -39,7 +39,7 @@ ReactDOM.render(
mode="inline"
defaultSelectedKeys={['1']}
defaultOpenKeys={['sub1']}
style={{ height: '100%' }}
style={{ height: '100%', borderRight: 0 }}
>
<SubMenu key="sub1" title={<span><Icon type="user" />subnav 1</span>}>
<Menu.Item key="1">option1</Menu.Item>

Loading…
Cancel
Save