Browse files

MDL-28151 resource: prevent cropping of large images


  • Loading branch information...
Matthew G. Switlik Sam Hemelryk
Matthew G. Switlik authored and Sam Hemelryk committed Jun 13, 2012
1 parent 8162a13 commit 5de876ba81e5fc90944cc1c7047c309f08912e23
Showing with 3 additions and 1 deletion.
  1. +3 −1 theme/base/style/core.css
@@ -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;}

0 comments on commit 5de876b

Please sign in to comment.