From de51e16d2b938075699948f5d865b9fc0e698655 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 18 Apr 2010 10:17:27 +0000 Subject: [PATCH] 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 --- app/views/groups/_users.html.erb | 2 +- app/views/projects/settings/_members.rhtml | 2 +- public/stylesheets/application.css | 2 ++ 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| %>
<%=l(:label_user_new)%> -

<%= text_field_tag 'user_search', nil, :size => "40" %>

+

<%= text_field_tag 'user_search', nil %>

<%= 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| %>
<%=l(:label_member_new)%> -

<%= text_field_tag 'principal_search', nil, :size => "40" %>

+

<%= text_field_tag 'principal_search', nil %>

<%= 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 ****/