From 60c82a03dbdf00145a25f3443c72ee646736283e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 7 Dec 2007 14:57:17 +0000 Subject: [PATCH] Fixed drop down lists overflow on My account. git-svn-id: http://redmine.rubyforge.org/svn/trunk@960 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/account.rhtml | 5 ++++- public/stylesheets/application.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index 2dda62d7..0badc4b9 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -4,7 +4,10 @@

<%=l(:label_my_account)%>

<%= error_messages_for 'user' %> -<% form_for :user, @user, :url => { :action => "account" }, :builder => TabularFormBuilder, :lang => current_language do |f| %> +<% form_for :user, @user, :url => { :action => "account" }, + :builder => TabularFormBuilder, + :lang => current_language, + :html => { :id => 'my_account_form' } do |f| %>

<%=l(:label_information_plural)%>

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f05fb9d9..249b2029 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -124,7 +124,7 @@ textarea.wiki-edit { width: 99%; } li p {margin-top: 0;} div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;} .autoscroll {overflow-x: auto; padding:1px; width:100%;} -#user_firstname, #user_lastname, #user_mail, #notification_option { width: 90%; } +#user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; } /***** Tabular forms ******/ .tabular p{ -- 2.11.0