mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-31 14:50:26 +08:00
opti: 设置页面最小高度
This commit is contained in:
parent
c155996e48
commit
7fb4c3ddec
@ -2,6 +2,7 @@
|
||||
|
||||
.add-interface-box {
|
||||
-webkit-box-flex: 1;
|
||||
min-height: 5rem;
|
||||
font-size: .14rem;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
@ -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} />
|
||||
|
@ -1,5 +1,9 @@
|
||||
@import '../../styles/mixin.scss';
|
||||
|
||||
.g-doc {
|
||||
min-height: 5rem;
|
||||
}
|
||||
|
||||
/* .interface-box.css */
|
||||
.interface-box {
|
||||
@include row-width-limit;
|
||||
|
@ -2,5 +2,6 @@
|
||||
|
||||
.g-doc {
|
||||
@include row-width-limit;
|
||||
min-height: 5rem;
|
||||
margin: .24rem auto;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user