diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-01 14:36:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-01 14:36:38 +0000 |
commit | c83b41611a3ac3e331c1ab339bd626c5f71e8504 (patch) | |
tree | 8616f9e9206f435190c9993f2c6f39034e7dff03 | |
parent | 2ca4eea244428d0dbb11bb558d4e5bc241417b32 (diff) | |
download | redmine-c83b41611a3ac3e331c1ab339bd626c5f71e8504.tar.gz redmine-c83b41611a3ac3e331c1ab339bd626c5f71e8504.zip |
Fixed: Contextual divs after attachments are placed incorrectly in FireFox (#2633).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2345 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/messages/show.rhtml | 10 | ||||
-rw-r--r-- | public/stylesheets/application.css | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml index eae349dcc..c1c3105fc 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -23,12 +23,12 @@ <h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3> <% @replies.each do |message| %> <a name="<%= "message-#{message.id}" %>"></a> - <div class="contextual"> - <%= link_to_remote_if_authorized image_tag('comment.png'), { :url => {:action => 'quote', :id => message} }, :title => l(:button_quote) %> - <%= link_to(image_tag('edit.png'), {:action => 'edit', :id => message}, :title => l(:button_edit)) if message.editable_by?(User.current) %> - <%= link_to(image_tag('delete.png'), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :title => l(:button_delete)) if message.destroyable_by?(User.current) %> - </div> <div class="message reply"> + <div class="contextual"> + <%= link_to_remote_if_authorized image_tag('comment.png'), { :url => {:action => 'quote', :id => message} }, :title => l(:button_quote) %> + <%= link_to(image_tag('edit.png'), {:action => 'edit', :id => message}, :title => l(:button_edit)) if message.editable_by?(User.current) %> + <%= link_to(image_tag('delete.png'), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :title => l(:button_delete)) if message.destroyable_by?(User.current) %> + </div> <h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4> <div class="wiki"><%= textilizable message, :content, :attachments => message.attachments %></div> <%= link_to_attachments message, :author => false %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index e65d41e6a..143f5c669 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -158,6 +158,7 @@ div.square { } .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;} .contextual input {font-size:0.9em;} +.message .contextual { margin-top: 0; } .splitcontentleft{float:left; width:49%;} .splitcontentright{float:right; width:49%;} |