Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-28151 resource: prevent cropping of large images

Conflicts:

	theme/base/style/core.css
  • Loading branch information...
commit f90d6ddb6dec35c94607d858fd688761f66767e5 1 parent dbaad88
authored samhemelryk committed

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  theme/base/style/core.css
2  theme/base/style/core.css
@@ -759,6 +759,8 @@ body.tag .managelink {padding: 5px;}
759 759
 
760 760
 /* Resourcelib mp3 player size: only width could be changed here, height hardcoded in JS */
761 761
 .resourcecontent .resourcemediaplugin_mp3 object {height:25px; width: 600px}
  762
+/** Large resource images should avoid hidden overflow **/
  763
+.resourceimage {max-width: 100%;}
762 764
 
763 765
 /*
764 766
 Fix for SubScript & SuperScript

0 notes on commit f90d6dd

Please sign in to comment.
Something went wrong with that request. Please try again.