some modifications from ika

This commit is contained in:
orbit 2017-04-12 18:24:52 +08:00
parent 3dafdb4016
commit bbbdd1f89b
2 changed files with 11 additions and 4 deletions

View File

@ -76,19 +76,26 @@ div .line-content:nth-child(1) {
color: #000;
font-weight: 500;
float: left;
width: 200px;
width: 300px;
}
.line-content .header-line label {
color: #000;
font-size: 15px;
font-weight: 500;
float: left;
width: 200px;
width: 300px;
}
.line-content .header-line .text_require {
display: block;
width: 210px;
margin: 30px 0 0;
padding: 5px;
min-height: 6em;
}
.line-content .content-line {
color: #888;
float: right;
width: calc(100% - 220px);
width: calc(100% - 350px);
}
.line-content .content-line .label {
margin: 0 2px 0 0;

View File

@ -92,7 +92,7 @@
<div class="line-content">
<span class="header-line">
<%= f.label :other, "Other Requirements:" %>
<%= f.text_area :other %>
<%= f.text_area :other, :class => "text_require" %>
</span>
<span class="content-line">
<%= f.number_field :other_cost, :min => "0" %>