Skip to content

Commit

Permalink
Removes overflow:auto on #content which broke the fix in r2118 (#4724).
Browse files Browse the repository at this point in the history
Autoscroll divs are added around large tables.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3376 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
jplang committed Feb 6, 2010
1 parent 695bffe commit 5a5d02d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/views/admin/projects.rhtml
Expand Up @@ -15,6 +15,7 @@
<% end %>
&nbsp;

<div class="autoscroll">
<table class="list">
<thead><tr>
<th><%=l(:label_project)%></th>
Expand All @@ -40,5 +41,6 @@
<% end %>
</tbody>
</table>
</div>

<% html_title(l(:label_project_plural)) -%>
2 changes: 2 additions & 0 deletions app/views/issues/_list.rhtml
@@ -1,5 +1,6 @@
<% form_tag({}) do -%>
<%= hidden_field_tag 'back_url', url_for(params) %>
<div class="autoscroll">
<table class="list issues">
<thead><tr>
<th><%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;',
Expand Down Expand Up @@ -31,4 +32,5 @@
<% end -%>
</tbody>
</table>
</div>
<% end -%>
3 changes: 2 additions & 1 deletion app/views/users/index.rhtml
Expand Up @@ -15,6 +15,7 @@
<% end %>
&nbsp;

<div class="autoscroll">
<table class="list">
<thead><tr>
<%= sort_header_tag('login', :caption => l(:field_login)) %>
Expand All @@ -41,7 +42,7 @@
<% end -%>
</tbody>
</table>

</div>
<p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>

<% html_title(l(:label_user_plural)) -%>
2 changes: 2 additions & 0 deletions app/views/workflows/edit.rhtml
Expand Up @@ -25,6 +25,7 @@
<% form_tag({}, :id => 'workflow_form' ) do %>
<%= hidden_field_tag 'tracker_id', @tracker.id %>
<%= hidden_field_tag 'role_id', @role.id %>
<div class="autoscroll">
<table class="list">
<thead>
<tr>
Expand Down Expand Up @@ -52,6 +53,7 @@
<% end %>
</tbody>
</table>
</div>
<p><%= check_all_links 'workflow_form' %></p>

<%= submit_tag l(:button_save) %>
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/application.css
Expand Up @@ -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; }
* 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 */

#main.nosidebar #sidebar{ display: none; }
Expand Down

0 comments on commit 5a5d02d

Please sign in to comment.