diff --git a/app/views/profile/_profile_comment_form.rhtml b/app/views/profile/_profile_comment_form.rhtml index 92c297b..6152fa4 100644 --- a/app/views/profile/_profile_comment_form.rhtml +++ b/app/views/profile/_profile_comment_form.rhtml @@ -1,8 +1,8 @@

- <% form_remote_tag :url => {:controller => 'profile', :action => 'leave_comment_on_activity'}, :update => 'profile_activities' do %> - <%= text_area :comment, :body, {:id => "reply_content_#{activity.id}", :cols => 50, :rows => 1, :class => 'submit-with-keypress'} %> + <% form_remote_tag :url => {:controller => 'profile', :action => 'leave_comment_on_activity'}, :update => 'profile_activities', :html => { :class => 'profile-wall-reply-form' } do %> + <%= text_area :comment, :body, {:id => "reply_content_#{activity.id}", :cols => 50, :rows => 1, :class => 'submit-with-keypress', :title => _('Leave your comment'), :onfocus => 'if(this.value==this.title){this.value="";this.style.color="#000"}', :onblur => 'if(this.value==""){this.value=this.title;this.style.color="#ccc"}', :value => _('Leave your comment'), :style => 'color: #ccc' } %> <%= hidden_field_tag :source_id, activity.id, :id => "activity_id_#{activity.id}" %> <% end %>

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index c651bd3..adef92d 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -6465,6 +6465,15 @@ h1#agenda-title { margin: 0; } +.profile-wall-reply-form { + display: block; + background: #e8e8e8; + border-bottom: 1px solid #d2d2d2; + border-top: 1px solid #fff; + margin-left: 50px; + padding: 0 5px; +} + .profile-wall-scrap-replies { float: right; margin-right: 2px; @@ -6497,7 +6506,11 @@ h1#agenda-title { #profile-wall .profile-wall-scrap-replies textarea, #profile-network textarea, #profile-wall textarea { - width: 99%; + width: 98%; +} + +#profile-wall textarea { + width: 375px; } .profile-wall-scrap-replies { -- libgit2 0.21.2