]> source.dussan.org Git - redmine.git/commitdiff
Removed "clear:both" divs that break the issue form with long sidebar content.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 12 Feb 2012 10:50:41 +0000 (10:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 12 Feb 2012 10:50:41 +0000 (10:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8858 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_attributes.html.erb
app/views/issues/_form_custom_fields.html.erb
public/stylesheets/application.css

index 90d47a20c8d932441cd1ef182b4cbf91ec4346b4..7ac662e133d8c4378694ea405c9c326cf160ff0a 100644 (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 %>
index 10539264ceb5ecc9cb2e1e43d81bc9b2a63f780b..33b0b848b07612fbda37498225eed89c55a9bff8 100644 (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>
index 98407afc4b9172b12f62806d005f1d62c40a2d0d..b7cd41da94daf3c17cb82d67cb8f4b0244802517 100644 (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;}