Browse files

Update styles to float images.

  • Loading branch information...
1 parent 6882ddc commit 9793bc94b07010f0de7420e3ef894925906dc3cd @cesutherland cesutherland committed Jul 1, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/imagediff.js
View
5 js/imagediff.js
@@ -284,6 +284,11 @@
canvas.height = diff.height;
canvas.width = diff.width;
+ div.style.overflow = 'hidden';
+ a.style.float = 'left';
+ b.style.float = 'left';
+ c.style.float = 'left';
+
context = canvas.getContext('2d');
context.putImageData(diff, 0, 0);

0 comments on commit 9793bc9

Please sign in to comment.