MDL-28151 resource: prevent cropping of large images

Conflicts:

	theme/base/style/core.css
This commit is contained in:
Matthew G. Switlik
2012-07-03 10:16:04 +12:00
committed by Sam Hemelryk
parent 8162a1308a
commit 5de876ba81
+3 -1
View File
@@ -760,6 +760,8 @@ body.tag .managelink {padding: 5px;}
/* Resourcelib mp3 player size: only width could be changed here, height hardcoded in JS */
.resourcecontent .resourcemediaplugin_mp3 object {height:25px; width: 600px}
/** Large resource images should avoid hidden overflow **/
.resourceimage {max-width: 100%;}
/*
Fix for SubScript & SuperScript
@@ -889,4 +891,4 @@ sup {vertical-align: super;}
#page-admin-setting-enrolsettingsflatfile.dir-rtl .informationbox {direction: ltr;text-align: left;}
#page-admin-grade-edit-scale-edit.dir-rtl .error input#id_name {margin-right: 170px;}
#page-admin-grade-edit-scale-edit.dir-rtl .error input#id_name {margin-right: 170px;}