提交 45bb286c 编写于 作者: A afc163

fix clear both bug in common layout

上级 2699f507
......@@ -50,7 +50,9 @@ ReactDOM.render(
</div>
<div className="ant-layout-container">
<div className="ant-layout-content">
<div style={{ height: 590 }}></div>
<div style={{ height: 590 }}>
内容区域
</div>
</div>
</div>
<div className="ant-layout-footer">
......
......@@ -66,7 +66,9 @@ ReactDOM.render(
</Menu>
</aside>
<div className="ant-layout-content">
<div style={{ height: 240 }}></div>
<div style={{ height: 240 }}>
<div style={{clear: 'both'}}>内容区域</div>
</div>
</div>
</div>
<div className="ant-layout-footer">
......@@ -126,7 +128,10 @@ ReactDOM.render(
.ant-layout-topaside .ant-layout-content {
border-left: 1px solid #e9e9e9;
margin-left: 223px;
padding: 0 24px;
overflow: hidden;
position: relative;
left: -1px;
}
.ant-layout-topaside .ant-layout-footer {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册