Skip to content

Commit

Permalink
Merge pull request #139 from portto/hotfix/iframe-style
Browse files Browse the repository at this point in the history
Release: Merge to publish new version to npm
  • Loading branch information
akira02 authored Jun 6, 2023
2 parents 561c604 + 2eddfca commit fa896c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/blocto-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @blocto/sdk

## 0.4.8

### Patch Changes

- 105381a: Fix insert iframe styles

## 0.4.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/blocto-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocto/sdk",
"version": "0.4.7",
"version": "0.4.8",
"repository": "[email protected]:portto/blocto-sdk.git",
"author": "Chiaki.C",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/blocto-sdk/src/lib/frame.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const IFRAME_STYLE =
'width:100vw;height:100%;position:fixed;top:0;left:0;z-index:2147483646;border:none;';
'width:100vw;height:100%;position:fixed;top:0;left:0;z-index:2147483646;border:none;box-sizing:border-box;color-scheme:light;inset:0px;display:block;';

export function createFrame(url: string): HTMLIFrameElement {
const frame = document.createElement('iframe');
Expand Down

0 comments on commit fa896c1

Please sign in to comment.