summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-04-18 10:17:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-04-18 10:17:27 +0000
commitde51e16d2b938075699948f5d865b9fc0e698655 (patch)
tree0d791ed573ca991ba2e774663d42c36f5164ae53
parent760c933bd7f9cef23f5a50422a123a09f45b2389 (diff)
downloadredmine-de51e16d2b938075699948f5d865b9fc0e698655.tar.gz
redmine-de51e16d2b938075699948f5d865b9fc0e698655.zip
Removes hard-coded size on user search fields (#5319).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3682 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/groups/_users.html.erb2
-rw-r--r--app/views/projects/settings/_members.rhtml2
-rw-r--r--public/stylesheets/application.css2
3 files changed, 4 insertions, 2 deletions
diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erb
index e471f52c7..48c216ee9 100644
--- a/app/views/groups/_users.html.erb
+++ b/app/views/groups/_users.html.erb
@@ -29,7 +29,7 @@
<% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %>
<fieldset><legend><%=l(:label_user_new)%></legend>
- <p><%= text_field_tag 'user_search', nil, :size => "40" %></p>
+ <p><%= text_field_tag 'user_search', nil %></p>
<%= observe_field(:user_search,
:frequency => 0.5,
:update => :users,
diff --git a/app/views/projects/settings/_members.rhtml b/app/views/projects/settings/_members.rhtml
index 237f522c6..1c0c11f42 100644
--- a/app/views/projects/settings/_members.rhtml
+++ b/app/views/projects/settings/_members.rhtml
@@ -58,7 +58,7 @@
<% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post) do |f| %>
<fieldset><legend><%=l(:label_member_new)%></legend>
- <p><%= text_field_tag 'principal_search', nil, :size => "40" %></p>
+ <p><%= text_field_tag 'principal_search', nil %></p>
<%= observe_field(:principal_search,
:frequency => 0.5,
:update => :principals,
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 70ef56277..77275a5a1 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -439,6 +439,8 @@ div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-h
table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
+input#principal_search, input#user_search {width:100%}
+
* html div#tab-content-members fieldset div { height: 450px; }
/***** Flash & error messages ****/