opti: 两列布局等高处理

This commit is contained in:
wenbo.dong 2017-08-25 11:48:42 +08:00
parent 81901beb14
commit ea011b3305
3 changed files with 5 additions and 2 deletions

View File

@ -66,7 +66,7 @@ class Follows extends Component {
path: '/follow'
}]}/>
<div className="g-row">
<Row gutter={24} className="follow-box card-panel">
<Row gutter={24} className="follow-box card-panel pannel-without-tab">
{data.length ? data.map((item, index) => {
return (
<Col span={8} key={index}>

View File

@ -10,5 +10,4 @@
.card-panel {
border-radius: 4px;
box-shadow: $box-shadow-panel;
min-height: 5rem;
}

View File

@ -88,3 +88,7 @@ em {
.card-panel {
padding: .36rem .24rem 0;
}
.pannel-without-tab {
min-height: 5rem;
}