From 6e084e5fb951a75ea53145bef0c9ca748f605842 Mon Sep 17 00:00:00 2001 From: "Matthew G. Switlik" Date: Wed, 13 Jun 2012 15:34:50 -0400 Subject: [PATCH] MDL-28151 resource: prevent cropping of large images --- theme/base/style/core.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/theme/base/style/core.css b/theme/base/style/core.css index 67922dd8ac8..645f2821783 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -667,6 +667,9 @@ body.tag .managelink {padding: 5px;} .resourcecontent .mediaplugin_mp3 object {height:25px; width: 600px} .resourcecontent audio.mediaplugin_html5audio {width: 600px} +/** Large resource images should avoid hidden overflow **/ +.resourceimage {max-width: 100%;} + /* Audio player size in 'inline' mode (can only change width, as above) */ .mediaplugin_mp3 object {height:15px;width:300px} audio.mediaplugin_html5audio {width: 300px}