summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 14:57:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 14:57:17 +0000
commit60c82a03dbdf00145a25f3443c72ee646736283e (patch)
treea9b84eb71145ccebcae63bc5e9ba36eea6374a99
parent36c0ab196ca772c123e7327b6829b8387f9e0aeb (diff)
downloadredmine-60c82a03dbdf00145a25f3443c72ee646736283e.tar.gz
redmine-60c82a03dbdf00145a25f3443c72ee646736283e.zip
Fixed drop down lists overflow on My account.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@960 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/my/account.rhtml5
-rw-r--r--public/stylesheets/application.css2
2 files changed, 5 insertions, 2 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml
index 2dda62d70..0badc4b94 100644
--- a/app/views/my/account.rhtml
+++ b/app/views/my/account.rhtml
@@ -4,7 +4,10 @@
<h2><%=l(:label_my_account)%></h2>
<%= 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| %>
<div class="splitcontentleft">
<h3><%=l(:label_information_plural)%></h3>
<div class="box tabular">
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index f05fb9d91..249b20291 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{