From c6eddafcadad05c2b3b0b072a6c828662febaf6a Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 20 May 2016 12:30:23 +0100 Subject: [PATCH] MDL-54654 mod_data: fix invalid css for image gallery preset --- mod/data/preset/imagegallery/csstemplate.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/data/preset/imagegallery/csstemplate.css b/mod/data/preset/imagegallery/csstemplate.css index 7c755221999..284193283ca 100644 --- a/mod/data/preset/imagegallery/csstemplate.css +++ b/mod/data/preset/imagegallery/csstemplate.css @@ -22,8 +22,8 @@ .picturediv { display: inline; - width: 150px; - height: 200px; + max-width: 150px; + max-height: 200px; } .inline { @@ -39,4 +39,4 @@ #singleimage img { width: 700px; height: auto; -} \ No newline at end of file +} -- 2.39.2