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 5de876ba81e5fc90944cc1c7047c309f08912e23 1 parent 8162a13
authored June 13, 2012 samhemelryk committed July 03, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  theme/base/style/core.css
4  theme/base/style/core.css
@@ -760,6 +760,8 @@ body.tag .managelink {padding: 5px;}
760 760
 
761 761
 /* Resourcelib mp3 player size: only width could be changed here, height hardcoded in JS */
762 762
 .resourcecontent .resourcemediaplugin_mp3 object {height:25px; width: 600px}
  763
+/** Large resource images should avoid hidden overflow **/
  764
+.resourceimage {max-width: 100%;}
763 765
 
764 766
 /*
765 767
 Fix for SubScript & SuperScript
@@ -889,4 +891,4 @@ sup {vertical-align: super;}
889 891
 
890 892
 #page-admin-setting-enrolsettingsflatfile.dir-rtl .informationbox {direction: ltr;text-align: left;}
891 893
 
892  
-#page-admin-grade-edit-scale-edit.dir-rtl .error input#id_name {margin-right: 170px;}
  894
+#page-admin-grade-edit-scale-edit.dir-rtl .error input#id_name {margin-right: 170px;}

0 notes on commit 5de876b

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