I'm using an Angular application, and when I make a mistake in the code the webpack overlay div shows up in my browser. The iframe for this can be styled using the dev tools in the web browser by adding a style on the div like so:
#webpack-dev-server-client-overlay-div {
font-size: 11px !important;
}
Is there a way to write a style file for this iframe? I've tried adding styles to my Angular application's styles.scss file, but it has no effect (I guess because it's in an iframe subelement inside my application). The goal is to make the text smaller, and maybe have more control of how the text is shown -- for some unfortunate reason, the default text size is "large".
Quoted from another stackoverflow answer on a similar topic:
If you are trying to target the markup which is loaded inside the iframe than that's not possible.
The above is not applicable in this case, because webpack is open source and it should be easy to configure the iframe (either monkey patching, using an existing configuration value, or writing a webpack plugin)