opti: 两列布局分别设置最小高度

This commit is contained in:
wenbo.dong 2017-07-28 12:04:29 +08:00
parent 0c24501728
commit 639440c1e8
5 changed files with 8 additions and 3 deletions

View File

@ -192,7 +192,7 @@ export default class GroupList extends Component {
const { currGroup } = this.props;
return (
<div>
<div className="m-group">
<div className="group-bar">
<div className="curr-group">
<div className="curr-group-name">

View File

@ -1,6 +1,8 @@
.group-bar {
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
border-radius: 4px;
background-color: #fff;
min-height: 5rem;
.curr-group {
background: #34495E;
border-radius: 4px 4px 0 0;
@ -54,6 +56,7 @@
border-bottom: 1px solid #e9e9e9;
padding-bottom: 24px;
border-radius: 0 0 4px 4px;
border: none;
.group-item {
// height: 48px;
// line-height: 48px;

View File

@ -2,6 +2,5 @@
.g-doc {
@include row-width-limit;
min-height: 5rem;
margin: .24rem auto;
}

View File

@ -3,6 +3,7 @@
padding: 24px;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
border-radius: 4px;
min-height: 5rem;
}
.m-table {

View File

@ -2,7 +2,6 @@
.g-doc {
margin: .24rem auto;
min-height: 5rem;
}
/* .user-box.css */
@ -23,6 +22,7 @@
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
background: #FFF;
border-radius:4px;
min-height: 5rem;
margin-top: 15px;
.search{
padding: 5px;
@ -55,6 +55,7 @@
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
background: #FFF;
margin-top: 15px;
min-height: 5rem;
.ant-table-wrapper table {
// font-size: .14rem;
@ -72,6 +73,7 @@
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
background: #FFF;
border-radius: .04rem;
min-height: 5rem;
.user-item {
min-height:35px;
line-height:35px;