Tested, works great.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 5 Mar 2014 22:09:03 +0000 (17:09 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 5 Mar 2014 22:09:03 +0000 (17:09 -0500)
apps/workbench/app/views/collections/_show_files.html.erb

index 357c8414f4c42c0a74b6a0e8be16b1d319a56dbf..d1c4b80ccb3677f74f5b27deb556dff6058fe655 100644 (file)
@@ -1,7 +1,7 @@
 <% content_for :css do %>
 .file-list-inline-image {
-  height: 4em; 
-  width: auto
+  width: 50%;
+  height: auto; 
 }
 <% end %>
 
@@ -46,7 +46,7 @@
                        file[1]
                      end), 
                     {controller: 'collections', action: 'show_file', uuid: @object.uuid, file: file_path, size: file[2], disposition: 'inline'}, 
-                    {title: 'View in browser'}) %>
+                    {title: file_path}) %>
       </td>
 
       <td style="text-align:right">