diff --git a/packages/runner/src/errors/errors.scss b/packages/runner/src/errors/errors.scss index a283dcf54a86..cc5616961af2 100644 --- a/packages/runner/src/errors/errors.scss +++ b/packages/runner/src/errors/errors.scss @@ -58,17 +58,14 @@ .script-error { background-color: #f8f8f8; - bottom: 0; border: none; border-radius: 0; color: #ec6573; - left: 0; overflow: auto; margin: 0; padding: 2em; - position: absolute; - right: 0; - top: 0; + width: 100%; + height: 100%; &:empty { display: none; diff --git a/packages/runner/src/iframe/iframe.scss b/packages/runner/src/iframe/iframe.scss index 9206d0a2d739..d1885a3e2c95 100644 --- a/packages/runner/src/iframe/iframe.scss +++ b/packages/runner/src/iframe/iframe.scss @@ -1,6 +1,11 @@ .runner { .iframes-container { position: fixed; + + &.has-error { + width: 100%; + height: 100%; + } } .size-container {