Fix the right and bottom padding of the error overlay (#758)

This commit is contained in:
Ville Immonen
2016-09-26 12:29:55 +03:00
committed by Dan Abramov
parent 52bc72fbde
commit 7d0fd03b00

View File

@@ -60,6 +60,7 @@ function addOverlayDivTo(iframe) {
var div = iframe.contentDocument.createElement('div');
div.id = 'react-dev-utils-webpack-hot-dev-client-overlay-div';
div.style.position = 'fixed';
div.style.boxSizing = 'border-box';
div.style.left = 0;
div.style.top = 0;
div.style.right = 0;