Skip to content

Commit 3f45509

Browse files
authored
Merge pull request #292 from maxwellmooney13/main
fix: remove frameborder in favor of css equivalent
2 parents 8cc9583 + aa986c0 commit 3f45509

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/iframe-coordinator/src/FrameManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
PartialMsg,
1313
} from "./messages/LabeledMsg";
1414

15-
const IFRAME_STYLE = "frame-router iframe { width: 100%; height: 100%; }";
15+
const IFRAME_STYLE = "frame-router iframe { width: 100%; height: 100%; border: 0px }";
1616

1717
/** @internal default iframe sandbox attributes */
1818
const DEFAULT_SANDBOX = [
@@ -59,7 +59,6 @@ class FrameManager {
5959
this._frameLocation = "about:blank";
6060

6161
this._iframe = this._window.document.createElement("iframe");
62-
this._iframe.setAttribute("frameborder", "0");
6362

6463
if (!style) {
6564
style = this._window.document.createElement("style");

0 commit comments

Comments
 (0)