opti: 设置页面最小高度

This commit is contained in:
wenbo.dong 2017-07-27 16:29:28 +08:00
parent c155996e48
commit 7fb4c3ddec
5 changed files with 9 additions and 2 deletions

View File

@ -2,6 +2,7 @@
.add-interface-box {
-webkit-box-flex: 1;
min-height: 5rem;
font-size: .14rem;
overflow-x: hidden;
overflow-y: auto;

View File

@ -78,7 +78,7 @@ class Interface extends Component {
render () {
const { interfaceData, projectMember, modalVisible } = this.props
return (
<div>
<div className="g-doc">
<section className="interface-box">
<InterfaceList projectMember={projectMember} />
<InterfaceMode modalVisible={modalVisible} closeProjectMember={this.props.closeProjectMember} />

View File

@ -1,5 +1,9 @@
@import '../../styles/mixin.scss';
.g-doc {
min-height: 5rem;
}
/* .interface-box.css */
.interface-box {
@include row-width-limit;

View File

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

View File

@ -2,6 +2,7 @@
.g-doc {
margin: .24rem auto;
min-height: 5rem;
}
/* .user-box.css */
@ -39,7 +40,7 @@
color: white;
font-size: 16px;
border-top-left-radius:5px;
border-top-right-radius: 5px;
border-top-right-radius: 5px;
span{
margin-right: 5px;
}