Skip to content

Commit c0c5bff

Browse files
committed
fix: use 100% of the screen available when JS is disabled / the first time the iframe loads up
1 parent a8c19f9 commit c0c5bff

File tree

1 file changed

+1
-1
lines changed
  • packages/uikit-workshop/src/scripts/components/pl-viewport

1 file changed

+1
-1
lines changed

packages/uikit-workshop/src/scripts/components/pl-viewport/pl-viewport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class IFrame extends BaseComponent {
393393
store.getState().app.viewportPx &&
394394
store.getState().app.viewportPx <= this.clientWidth
395395
? store.getState().app.viewportPx + 'px;'
396-
: this.clientWidth + 'px;';
396+
: '100%';
397397

398398
return (
399399
<div class="pl-c-viewport pl-js-viewport">

0 commit comments

Comments
 (0)