Skip to content

Commit 88d52b6

Browse files
authored
chore: use width 100 for iframe
1 parent bacaea1 commit 88d52b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/codebytes/src/codeByteEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { trackUserImpression } from './libs/eventTracking';
1313
import { CodeByteEditorProps } from './types';
1414

1515
const editorStates = states({
16-
isIFrame: { height: '100vh' },
16+
isIFrame: { height: '100vh', width: '100%' },
1717
});
1818

1919
const editorBaseStyles = system.css({

0 commit comments

Comments
 (0)