Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-28151 resource: prevent cropping of large images

Conflicts:

	theme/base/style/core.css
  • Loading branch information...
commit 5de876ba81e5fc90944cc1c7047c309f08912e23 1 parent 8162a13
Matthew G. Switlik authored samhemelryk committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 theme/base/style/core.css
View
4 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;}
Please sign in to comment.
Something went wrong with that request. Please try again.