Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev

This commit is contained in:
wenbo.dong 2017-07-28 14:40:56 +08:00
commit ca12115f5c
2 changed files with 16 additions and 9 deletions

View File

@ -96,7 +96,7 @@
.req-header { .req-header {
display: -webkit-box; display: -webkit-box;
line-height: 32px; line-height: 32px;
margin: 10px 0 0 50px; margin: 10px 0 0 58px;
padding: 15px 0 0 0; padding: 15px 0 0 0;
.req-h3 { .req-h3 {
@ -125,18 +125,19 @@
} }
.req-save, .res-save { .req-save, .res-save {
margin: 5px 0 0 159px; margin: 5px 0 0 167px;
} }
/* .req-params.css */ /* .req-params.css */
.req-params { .req-params {
display: -webkit-box; display: -webkit-box;
padding: 20px 0 0 0; padding: 20px 0 0 0;
margin: 20px 0 0 90px; margin: 20px 0 0 92px;
width: 650px; width: 562px;
height: 200px; height: 200px;
.req-h3 { .req-h3 {
font-weight: normal; font-weight: normal;
margin: 0 0 0 8px;
} }
} }
@ -213,7 +214,7 @@
.mock-url-box { .mock-url-box {
clear: both; clear: both;
padding: 10px 0 0 0; padding: 10px 0 0 0;
margin: 10px 0 0 90px; margin: 10px 0 0 96px;
zoom: 1; zoom: 1;
overflow: hidden; overflow: hidden;
display: none; display: none;
@ -222,7 +223,7 @@
line-height: 35px; line-height: 35px;
} }
p { p {
width: 52.8%; width: 47.3%;
height: 35px; height: 35px;
line-height: 35px; line-height: 35px;
border: 1px #DDD solid; border: 1px #DDD solid;
@ -230,6 +231,7 @@
margin: 0 10px 0 8px; margin: 0 10px 0 8px;
padding: 0 0 0 10px; padding: 0 0 0 10px;
float: left; float: left;
border-radius: 4px;
} }
.host { .host {
margin: 10px 0 0 80px; margin: 10px 0 0 80px;
@ -258,6 +260,11 @@
.is-loading { .is-loading {
display: block; display: block;
} }
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active,
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
font-size: .12rem;
margin-top: 3px;
}
} }
#container { #container {
@ -310,9 +317,9 @@ body {
#req-cover { #req-cover {
padding: 0 20px; padding: 0 20px;
border: 1px #DDD solid; border: 1px #DDD solid;
// background-color: #FFF; border-radius: 4px;
-webkit-box-flex: 1; -webkit-box-flex: 1;
margin: 0 0 0 15px; margin: 0 0 0 12px;
} }
#res-cover { #res-cover {
background-color: #FFF; background-color: #FFF;

View File

@ -120,7 +120,7 @@ class ReqList extends Component {
return ( return (
<li> <li>
<em className="title">头部标签 : </em> <em className="title">头部标签 : </em>
<Select value={name} style={{ width: 220 }} onChange={this.handleChange} size="large"> <Select value={name} style={{ width: 180 }} onChange={this.handleChange} size="large">
<Option value="">选择请求头</Option> <Option value="">选择请求头</Option>
{headersOptions} {headersOptions}
</Select> </Select>