Browse files

MDL-28151 resource: prevent cropping of large images

  • Loading branch information...
1 parent 15d8bab commit 815aecf6c72392351c043c658f8b9fc6754d843c Matthew G. Switlik committed with Sam Hemelryk Jun 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 theme/base/style/core.css
@@ -669,6 +669,9 @@ body.tag .managelink {padding: 5px;}
.resourcecontent .mediaplugin_mp3 object {height:25px; width: 600px}
.resourcecontent audio.mediaplugin_html5audio {width: 600px}
+/** Large resource images should avoid hidden overflow **/
+.resourceimage {max-width: 100%;}
/* Audio player size in 'inline' mode (can only change width, as above) */
.mediaplugin_mp3 object {height:15px;width:300px}
audio.mediaplugin_html5audio {width: 300px}

0 comments on commit 815aecf

Please sign in to comment.