Browse files

MDL-28151 resource: prevent cropping of large images

  • Loading branch information...
1 parent 85c4758 commit 6e084e5fb951a75ea53145bef0c9ca748f605842 Matthew G. Switlik committed with danpoltawski Jun 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 theme/base/style/core.css
@@ -667,6 +667,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 6e084e5

Please sign in to comment.