From dae2d4686e721e494c17e2cc8066e07a2291562c Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang
-<%= text_area 'document', 'description', :cols => 60, :rows => 15 %>
+<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %> diff --git a/app/views/issues/change_status.rhtml b/app/views/issues/change_status.rhtml index 967225694..377e0da2e 100644 --- a/app/views/issues/change_status.rhtml +++ b/app/views/issues/change_status.rhtml @@ -28,7 +28,7 @@-<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10 %>
+<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %> diff --git a/app/views/issues/edit.rhtml b/app/views/issues/edit.rhtml index 78fc4a7a8..bd3e6ad4f 100644 --- a/app/views/issues/edit.rhtml +++ b/app/views/issues/edit.rhtml @@ -19,7 +19,7 @@<%= f.text_field :subject, :size => 80, :required => true %>
-<%= f.text_area :description, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :required => true %>
+<%= f.text_area :description, :required => true, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :class => 'wiki-edit' %>
<% for @custom_value in @custom_values %><%= custom_field_tag_with_label @custom_value %>
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 5acc02bcb..442c30abe 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -104,7 +104,7 @@ end %>- <%= text_area_tag 'notes', '', :cols => 60, :rows => 10 %>
+ <%= text_area_tag 'notes', '', :cols => 60, :rows => 10, :class => 'wiki-edit' %> <%= submit_tag l(:button_add) %> <% end %><%= f.text_field :title, :required => true, :size => 60 %>
<%= f.text_area :summary, :cols => 60, :rows => 2 %>
-<%= f.text_area :description, :required => true, :cols => 60, :rows => 15 %>
+<%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %>
<%= f.text_field :subject, :size => 80, :required => true %>
-<%= f.text_area :description, :cols => 60, :rows => 10, :required => true %>
+<%= f.text_area :description, :cols => 60, :rows => 10, :required => true, :class => 'wiki-edit' %>
<% for @custom_value in @custom_values %><%= custom_field_tag_with_label @custom_value %>
diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 9caf96509..1fc79bdc4 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -11,7 +11,7 @@ <%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' }, :onclick => "window.open('#{ url_for :controller => 'help', :ctrl => 'wiki', :page => 'syntax' }', '', 'resizable=yes, location=no, width=300, height=500, menubar=no, status=no, scrollbars=yes'); return false;" %><%= f.text_area :text, :cols => 100, :rows => 25, :style => "width:99.5%;" %>
+<%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit' %>
<%= f.text_field :comment, :size => 120 %>
<%= submit_tag l(:button_save) %> <%= link_to_remote l(:label_preview), diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f00bb9c7c..3fe0b1d68 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -237,6 +237,7 @@ blockquote {padding-left: 6px; border-left: 2px solid #ccc;} input, select {vertical-align: middle; margin-bottom: 4px;} input.button-small {font-size: 0.8em;} +textarea.wiki-edit { width: 99.5%; } .select-small {font-size: 0.8em;} label {font-weight: bold; font-size: 1em; color: #505050;} fieldset {border:1px solid #c0c0c0; padding: 6px;} -- cgit v1.2.3