Permalink
Browse files

fixed min-width of output not being applied

  • Loading branch information...
1 parent 0af9e40 commit 8b5e7a63fc0ac07571b97551f4972aee113410bb @LenAnderson LenAnderson committed May 21, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 dpi.js
View
@@ -27,7 +27,7 @@ function update() {
// Size the output to have the same aspect ratio as the screen
var ratio = w/h;
- output.style.minWidth = result.parentNode.offsetWidth;
+ output.style.minWidth = result.parentNode.offsetWidth + 'px';
if (ratio > 1) {
output.style.width = '';

0 comments on commit 8b5e7a6

Please sign in to comment.