diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss
index ff293bc4a0063e8d213686567d10e8e44cda4502..158db38549f3be6d7602613dc9cb8641d2b86e0f 100644
--- a/app/assets/stylesheets/sections/commits.scss
+++ b/app/assets/stylesheets/sections/commits.scss
@@ -153,6 +153,7 @@
       img{
         border: 1px solid #FFF;
         background: url('trans_bg.gif');
+        max-width: 100%;
       }
       &.deleted {
         border: 1px solid $deleted;