Removes overflow:auto on #content which broke the fix in r2118 (#4724).

Autoscroll divs are added around large tables.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3376 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-02-06 14:05:13 +00:00
parent 695bffe684
commit 5a5d02dfb5
5 changed files with 9 additions and 2 deletions

View File

@ -15,6 +15,7 @@
<% end %> <% end %>
&nbsp; &nbsp;
<div class="autoscroll">
<table class="list"> <table class="list">
<thead><tr> <thead><tr>
<th><%=l(:label_project)%></th> <th><%=l(:label_project)%></th>
@ -40,5 +41,6 @@
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>
<% html_title(l(:label_project_plural)) -%> <% html_title(l(:label_project_plural)) -%>

View File

@ -1,5 +1,6 @@
<% form_tag({}) do -%> <% form_tag({}) do -%>
<%= hidden_field_tag 'back_url', url_for(params) %> <%= hidden_field_tag 'back_url', url_for(params) %>
<div class="autoscroll">
<table class="list issues"> <table class="list issues">
<thead><tr> <thead><tr>
<th><%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;', <th><%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;',
@ -31,4 +32,5 @@
<% end -%> <% end -%>
</tbody> </tbody>
</table> </table>
</div>
<% end -%> <% end -%>

View File

@ -15,6 +15,7 @@
<% end %> <% end %>
&nbsp; &nbsp;
<div class="autoscroll">
<table class="list"> <table class="list">
<thead><tr> <thead><tr>
<%= sort_header_tag('login', :caption => l(:field_login)) %> <%= sort_header_tag('login', :caption => l(:field_login)) %>
@ -41,7 +42,7 @@
<% end -%> <% end -%>
</tbody> </tbody>
</table> </table>
</div>
<p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p> <p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>
<% html_title(l(:label_user_plural)) -%> <% html_title(l(:label_user_plural)) -%>

View File

@ -25,6 +25,7 @@
<% form_tag({}, :id => 'workflow_form' ) do %> <% form_tag({}, :id => 'workflow_form' ) do %>
<%= hidden_field_tag 'tracker_id', @tracker.id %> <%= hidden_field_tag 'tracker_id', @tracker.id %>
<%= hidden_field_tag 'role_id', @role.id %> <%= hidden_field_tag 'role_id', @role.id %>
<div class="autoscroll">
<table class="list"> <table class="list">
<thead> <thead>
<tr> <tr>
@ -52,6 +53,7 @@
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>
<p><%= check_all_links 'workflow_form' %></p> <p><%= check_all_links 'workflow_form' %></p>
<%= submit_tag l(:button_save) %> <%= submit_tag l(:button_save) %>

View File

@ -75,7 +75,7 @@ h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
#content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; } #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
* html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;} * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
html>body #content { min-height: 600px; overflow: auto; } html>body #content { min-height: 600px; }
* html body #content { height: 600px; } /* IE */ * html body #content { height: 600px; } /* IE */
#main.nosidebar #sidebar{ display: none; } #main.nosidebar #sidebar{ display: none; }