some modifications from ika

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

No files matched your search

@@ -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;
@@ -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" %>