fix clear both bug in common layout

This commit is contained in:
afc163 2015-12-28 13:56:10 +08:00
parent 2699f5075c
commit 45bb286cd6
2 changed files with 10 additions and 3 deletions

View File

@ -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">

View File

@ -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 {