Removed "clear:both" divs that break the issue form with long sidebar content.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8858 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-02-12 10:50:41 +00:00
parent 58996e891e
commit 96757857c4
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<% labelled_fields_for :issue, @issue do |f| %>
<div class="splitcontent">
<div class="splitcontentleft">
<% if @issue.safe_attribute? 'status_id' %>
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p>
@ -58,8 +59,8 @@
<p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
<% end %>
</div>
</div>
<div style="clear:both;"> </div>
<% if @issue.safe_attribute? 'custom_field_values' %>
<%= render :partial => 'issues/form_custom_fields' %>
<% end %>

View File

@ -1,3 +1,4 @@
<div class="splitcontent">
<div class="splitcontentleft">
<% i = 0 %>
<% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %>
@ -9,4 +10,4 @@
<% i += 1 -%>
<% end -%>
</div>
<div style="clear:both;"> </div>
</div>

View File

@ -280,6 +280,7 @@ div.square {
.contextual input, .contextual select {font-size:0.9em;}
.message .contextual { margin-top: 0; }
.splitcontent {overflow:auto;}
.splitcontentleft{float:left; width:49%;}
.splitcontentright{float:right; width:49%;}
form {display: inline;}