[web] style improvement

This commit is contained in:
Jason 2016-07-24 18:20:29 +08:00
parent a3fa9e14ae
commit 0a4bb394da
2 changed files with 12 additions and 2 deletions

View File

@ -64,6 +64,17 @@
}
}
.header-table .inline-input {
display: inline-block;
width: 100%;
height: 100%;
}
.header-colon {
position: absolute;
opacity: 0;
}
.view-options {
margin-top: 10px;
}
@ -102,7 +113,6 @@
}
.header-name {
width: 33%;
padding-right: 1em;
}
.header-value {

View File

@ -126,7 +126,7 @@ export default class Headers extends Component {
onDone={val => this.onChange(i, 0, val)}
onRemove={event => this.onRemove(i, 0, event)}
onTab={event => this.onTab(i, 0, event)}
/>:
/><span className="header-colon">:</span>
</td>
<td className="header-value">
<HeaderEditor