mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
fix clear both bug in common layout
This commit is contained in:
parent
2699f5075c
commit
45bb286cd6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user