From 38adb0def93b87091a34262bea9441c9ef8ddef7 Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Tue, 21 Jun 2011 14:22:00 +0800 Subject: [PATCH] MDL-27914 data fixed image gallery template CSS selector for #singleimage to include img tag and set height to auto --- mod/data/preset/imagegallery/csstemplate.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/data/preset/imagegallery/csstemplate.css b/mod/data/preset/imagegallery/csstemplate.css index ad3482603c3..7c755221999 100644 --- a/mod/data/preset/imagegallery/csstemplate.css +++ b/mod/data/preset/imagegallery/csstemplate.css @@ -36,6 +36,7 @@ font-style: italic; } -#singleimage { +#singleimage img { width: 700px; + height: auto; } \ No newline at end of file