From ddee9875e424a3c4c7bdcd815b7fbd719bd2c1e7 Mon Sep 17 00:00:00 2001 From: MorganDawe Date: Mon, 12 Dec 2016 15:53:36 -0400 Subject: [PATCH] Updating comments. --- css/islandora.objects.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/css/islandora.objects.css b/css/islandora.objects.css index c5683076..94a343fc 100644 --- a/css/islandora.objects.css +++ b/css/islandora.objects.css @@ -10,9 +10,15 @@ div.islandora-objects > div { display: inline-block; } +/* img styling (max-width) - Setting a max width to ensure a thumbnails width + * does not exceed that of its parent container (ex: 20%). + * + * img styling (max-height) - Avoid making assumptions on max height here, allowing auto + * height based on max-width of 100%. Consider overrideing this file in your theme, + * or adding your own CSS to address a maximum thumbnail height. + */ .islandora-object img { max-width: 100%; - max-height: 12em; } .islandora-objects-list-item {