Skip to content

Commit

Permalink
Force transparent background on <iframe>
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Oct 4, 2024
1 parent 64d642a commit 651f66d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/buttons.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ var render = function (options, func) {
});
set(iframe, [0, 0]);
iframe.style.border = 'none';
iframe.style.colorScheme = 'light';
var callback = function () {
var contentWindow = iframe.contentWindow;
var body;
Expand Down
1 change: 1 addition & 0 deletions dist/buttons.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ var render = function (options, func) {
});
set(iframe, [0, 0]);
iframe.style.border = 'none';
iframe.style.colorScheme = 'light';
var callback = function () {
var contentWindow = iframe.contentWindow;
var body;
Expand Down
1 change: 1 addition & 0 deletions dist/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@
});
set(iframe, [0, 0]);
iframe.style.border = 'none';
iframe.style.colorScheme = 'light';
var callback = function () {
var contentWindow = iframe.contentWindow;
var body;
Expand Down
2 changes: 1 addition & 1 deletion dist/buttons.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const render = function (options, func) {
})
setSize(iframe, [0, 0])
iframe.style.border = 'none'
iframe.style.colorScheme = 'light'
const callback = function () {
const contentWindow = iframe.contentWindow
let body
Expand Down

0 comments on commit 651f66d

Please sign in to comment.