Skip to content

Commit 4a5ca3e

Browse files
author
Ives van Hoorne
committed
Fix auto resize
1 parent 18a3971 commit 4a5ca3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/embed/components/Content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class Content extends React.PureComponent {
7777
JSON.stringify({
7878
src: window.location.toString(),
7979
context: 'iframe.resize',
80-
height: Math.min(height, 500), // pixels
80+
height: Math.max(height + 100, 500), // pixels
8181
}),
8282
'*',
8383
);

0 commit comments

Comments
 (0)