Other issues or features related to Microsoft Edge on Windows 11
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
With the recent edge update to 137.0.3296.52, devtools - Network - Preview is very small (300*150). It seems to be the iframe dimensions.
The previous build was working fine. (136.0.3240.104)
I've found a CSS (requestHTMLView.css) that, if I add width and height, it will preview correctly. But this only works until I load another page.
Is there a way to fix this, editing the iframe dimensions permanently?
Other issues or features related to Microsoft Edge on Windows 11
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Good day!
Welcome to Microsoft Community. Thank you for sharing your concern with us today and we hope that all is well. It looks like Edge 137 introduced a change that affects the DevTools Network Preview iframe dimensions, making it much smaller than before. You're not alone others have reported this issue.
Possible Workarounds
requestHTMLView.css works, but only until the page reloads.Regards,
Fritz-Bald
Microsoft Community
Moderator
Ok this works a lot better than my fix. Hope the dev folk fix this though.
Chrome was fixed (had the same problem) but still waiting for Edge.
Thank you very much for this!
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
Possible Workarounds
- Modify CSS Temporarily – As you mentioned, editing
requestHTMLView.cssworks, but only until the page reloads.
If you don't want to reapply the changes every time the page reloads / for every single file you inspect, you can override the file with a local copy:
div.html.request-view {
width: 100%;
height: 100%;
padding: 20px;
}
.html-preview-frame {
width: 100%;
height: 100%;
box-shadow: var(--drop-shadow);
background: var(--ref-palette-neutral100);
color-scheme: light;
flex-grow: 1;
}
Once you've done that, your changes will last for all files you open in that particular devtools window - but only as long as the devtools for that particular devtools window are also opened. If you close them or open devtools for a different page, you'll have to open that page's devtools' devtools again as described in steps 2 - 5 (but you don't have to edit anything anymore - just open the devtools and your CSS will take effect).
It's far from a perfect solution, but still better than to reapply the changes every 30 seconds. If anyone knows how to make the override files for devtools work without having to open the devtools' devtools, let us know.
Tried Canary and Beta but seems to have the same issue.
DevTools updates only go up to Edge 136
Sent an issue reporte to MS, hopeful on that one!
Going to keep editing the css for now.