From c1e6c5910b30c78380150a1cbb474150a55000ae Mon Sep 17 00:00:00 2001 From: MorganDawe Date: Mon, 12 Dec 2016 11:10:02 -0400 Subject: [PATCH] Added basic styling for solr driven thumbnails. --- css/islandora.base.css | 3 +-- css/islandora.objects.css | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/css/islandora.base.css b/css/islandora.base.css index 7b548289..28301aa1 100644 --- a/css/islandora.base.css +++ b/css/islandora.base.css @@ -5,8 +5,7 @@ Purpose of the stylesheet follows. */ -.islandora img, -.islandora-object-thumb img { +.islandora img { max-width: 100%; *width: 100%; } diff --git a/css/islandora.objects.css b/css/islandora.objects.css index cbd58d56..f138ff50 100644 --- a/css/islandora.objects.css +++ b/css/islandora.objects.css @@ -10,6 +10,10 @@ div.islandora-objects > div { display: inline-block; } +.islandora-object img { + max-width: 100%; +} + .islandora-objects-list-item { clear: both; width: 100%;