diff --git a/app/stylesheets/outfits/_edit.sass b/app/stylesheets/outfits/_edit.sass index 80b0ce6a..ad84c6d9 100644 --- a/app/stylesheets/outfits/_edit.sass +++ b/app/stylesheets/outfits/_edit.sass @@ -169,8 +169,10 @@ body.outfits-edit display: none #preview-image-container +wardrobe-image-wrapper - margin: 1em auto position: relative + &, img + height: 100% + width: 100% #preview-swf-overlay +opacity(0) background: black diff --git a/public/javascripts/wardrobe.js b/public/javascripts/wardrobe.js index 37c9a541..2a2d6988 100644 --- a/public/javascripts/wardrobe.js +++ b/public/javascripts/wardrobe.js @@ -1249,6 +1249,8 @@ Wardrobe.getStandardView = function (options) { preview_el.removeClass('swf-adapter').addClass('image-adapter'); pendingMessageEl.appendTo(previewImageContainer); + var adapter = this; + var exportIframe = $('#preview-export-iframe'); if(exportIframe.length == 0) { exportIframe = $('