2753: Fix Collection inline file view.
authorBrett Smith <brett@curoverse.com>
Thu, 29 May 2014 14:52:04 +0000 (10:52 -0400)
committerBrett Smith <brett@curoverse.com>
Thu, 29 May 2014 14:52:04 +0000 (10:52 -0400)
The height limit needs to be applied to the images themselves, rather
than the containing div.

apps/workbench/app/assets/stylesheets/collections.css.scss

index 2bd9bd83997bc49e957d92bc2e5f8e7deb63bde3..35c2249ecf0540cea0eda2b4516fd4a58ebc38c7 100644 (file)
@@ -28,9 +28,11 @@ ul.collection_files li {
 .collection_files_inline {
   clear: both;
   width: 80%;
-  height: auto;
-  max-height: 6em;
-  margin: 0 1em;
+  margin: 0 3em;
+}
+
+.collection_files_inline img {
+  max-height: 15em;
 }
 
 .collection_files_name {