From 19d1682077e4c8d9382403f4f8959a9f65cba3f4 Mon Sep 17 00:00:00 2001 From: z9hang Date: Mon, 19 May 2014 15:23:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E6=8F=90=E4=BA=A4=E6=96=87=E4=BB=B6=E5=A4=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_homework_form.html.erb | 2 +- public/stylesheets/application.css | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/views/bids/_homework_form.html.erb b/app/views/bids/_homework_form.html.erb index 6d9230a91..5aa3462fa 100644 --- a/app/views/bids/_homework_form.html.erb +++ b/app/views/bids/_homework_form.html.erb @@ -37,5 +37,5 @@

<%= hidden_field_tag 'course_id', @project_id %>

<%= l(:label_attachment_plural) %> -

<%= render :partial => 'attachments/form', :locals => {:container => @bid} %>

+
<%= render :partial => 'attachments/form', :locals => {:container => @bid} %>
\ No newline at end of file diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 1a1c1b2ea..8e0a81cf6 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1769,6 +1769,14 @@ p.pagination {margin-top:8px; font-size: 90%} clear:left; } +.tabular .tabDiv{ + margin: 0; + padding: 3px 0 3px 0; + padding-left: 100px; /* width of left column containing the label elements *//*by young*/ + /*min-height: 1.8em;*/ + clear:left; +} + html>body .tabular p {overflow:hidden;} .tabular label{ @@ -1830,7 +1838,7 @@ span.required {color: #bb0000;} .summary {font-style: italic;} #attachments_fields input.description {margin-left:4px; width:100px; } -#attachments_fields span {display:block; white-space:nowrap; font-family:'微软雅黑';} +#attachments_fields span .boldSpan{display:block; white-space:nowrap; font-family:'微软雅黑';} #attachments_fields input.filename {border:0; height:1.8em; width:150px; color:#555; background-color:inherit; background:url(../images/attachment.png) no-repeat 1px 50%; padding-left:18px;}/*Modified by young*/ #attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;} #attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;}