Permalink
Browse files

Fixed positioning of clipboard clear button in Safari

  • Loading branch information...
1 parent 1b4db0d commit 2188a6528c6b92bab0739da3cec4667c70767f15 @mischa78 mischa78 committed Jun 27, 2011
Showing with 8 additions and 8 deletions.
  1. +6 −8 app/views/clipboard/_show.html.erb
  2. +2 −0 public/stylesheets/stylesheet.css
@@ -62,13 +62,11 @@
</tr>
<% end -%>
</table>
- <p>
- <span class="back">
- <%= button_to t(:clear_clipboard),
- { :controller => :clipboard, :action => :reset, :folder_id => @folder, :authenticity_token => form_authenticity_token }, :method => :put
- %>
- &nbsp; &mdash; &nbsp;
- <%= link_to_function t(:back), "show_element('files_and_folders')" %>
- </span>
+ <p class="clear_and_back">
+ <%= button_to t(:clear_clipboard),
+ { :controller => :clipboard, :action => :reset, :folder_id => @folder, :authenticity_token => form_authenticity_token }, :method => :put
+ %>
+ &nbsp; &mdash; &nbsp;
+ <%= link_to_function t(:back), "show_element('files_and_folders')" %>
</p>
<% end -%>
@@ -55,6 +55,8 @@ hr { border: 0; width: 800px; margin: 15px 0 10px 15px; color: #CCC; background-
.clipboard_empty { display: inline-block; width: 755px; margin-top: 15px; padding: 10px; border: 5px solid #CCC; font-size: 14pt; color: #777; background-color: #EEE; }
.clipboard_info_image { float: left; margin: 3px 12px 0 3px; }
.button_to, .button_to div { display: inline; }
+.button_to { margin-left: 15px; }
+.clear_and_back { margin-top: 15px; }
.emails_to_share_with { height: 39px; width: 722px; }
.shared_file { display: inline-block; min-width: 400px; padding: 15px; background-color: #EEE; }
.shared_file img { margin-right: 8px; }

0 comments on commit 2188a65

Please sign in to comment.