summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-06 14:05:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-06 14:05:13 +0000
commit5a5d02dfb5b7c8b89e37090584bff4a2590a0281 (patch)
tree8f6ba8c299bc5d93552284d9055a44b3af77cefb
parent695bffe68468b45ab5fbb2fd51316ead27eb713e (diff)
downloadredmine-5a5d02dfb5b7c8b89e37090584bff4a2590a0281.tar.gz
redmine-5a5d02dfb5b7c8b89e37090584bff4a2590a0281.zip
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
-rw-r--r--app/views/admin/projects.rhtml2
-rw-r--r--app/views/issues/_list.rhtml2
-rw-r--r--app/views/users/index.rhtml3
-rw-r--r--app/views/workflows/edit.rhtml2
-rw-r--r--public/stylesheets/application.css2
5 files changed, 9 insertions, 2 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index f5226bf5d..d136c699c 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -15,6 +15,7 @@
<% end %>
&nbsp;
+<div class="autoscroll">
<table class="list">
<thead><tr>
<th><%=l(:label_project)%></th>
@@ -40,5 +41,6 @@
<% end %>
</tbody>
</table>
+</div>
<% html_title(l(:label_project_plural)) -%>
diff --git a/app/views/issues/_list.rhtml b/app/views/issues/_list.rhtml
index a7a7b0622..b29476d58 100644
--- a/app/views/issues/_list.rhtml
+++ b/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;',
@@ -31,4 +32,5 @@
<% end -%>
</tbody>
</table>
+</div>
<% end -%>
diff --git a/app/views/users/index.rhtml b/app/views/users/index.rhtml
index 758f1767a..6222f0027 100644
--- a/app/views/users/index.rhtml
+++ b/app/views/users/index.rhtml
@@ -15,6 +15,7 @@
<% end %>
&nbsp;
+<div class="autoscroll">
<table class="list">
<thead><tr>
<%= sort_header_tag('login', :caption => l(:field_login)) %>
@@ -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)) -%>
diff --git a/app/views/workflows/edit.rhtml b/app/views/workflows/edit.rhtml
index d7343fa2b..e1862a6d7 100644
--- a/app/views/workflows/edit.rhtml
+++ b/app/views/workflows/edit.rhtml
@@ -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>
@@ -52,6 +53,7 @@
<% end %>
</tbody>
</table>
+</div>
<p><%= check_all_links 'workflow_form' %></p>
<%= submit_tag l(:button_save) %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index e2261b060..9d51f6de7 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -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; }