mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Fix the right and bottom padding of the error overlay (#758)
This commit is contained in:
committed by
Dan Abramov
parent
52bc72fbde
commit
7d0fd03b00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user