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 dbaad88 commit f90d6ddb6dec35c94607d858fd688761f66767e5
Showing with 2 additions and 0 deletions.
  1. +2 −0 theme/base/style/core.css
@@ -759,6 +759,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

0 comments on commit f90d6dd

Please sign in to comment.