From edce0a9a76309ee93e461e916036b7d5ee6b2012 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 11 Aug 2020 22:52:40 -0700 Subject: [PATCH] add 1px of padding around Flash preview area I tried to get the alignment juuust right in Chrome and Firefox, but Dice's computer was still including a 1px sliver of border. In this change, I'm adding 1px of extra padding between the border and the Flash area. I figure that, if the screenshots are incorrectly aligned by 1px, that's no big deal and I'm okay accepting that slightly-incorrect upload rather than having folks not be able to use the tool! --- src/app/WardrobePage/support/ItemLayerSupportUploadModal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/WardrobePage/support/ItemLayerSupportUploadModal.js b/src/app/WardrobePage/support/ItemLayerSupportUploadModal.js index 5ada334..edbe588 100644 --- a/src/app/WardrobePage/support/ItemLayerSupportUploadModal.js +++ b/src/app/WardrobePage/support/ItemLayerSupportUploadModal.js @@ -345,6 +345,8 @@ function ItemLayerSupportFlashPlayer({ swfUrl, backgroundColor }) { borderStyle="dashed" borderColor={borderColor} marginTop="4" + padding="1px" + backgroundColor={backgroundColor} >