Skip to content

Commit 4439987

Browse files
author
Ives van Hoorne
committed
Adjust the offset for autoresize in embeds
1 parent 93c86e4 commit 4439987

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
@@ -73,7 +73,7 @@ export default class Content extends React.PureComponent {
7373

7474
handleResize = (height: number) => {
7575
if (this.props.autoResize) {
76-
const extraOffset = this.props.hideNavigation ? 75 : 150;
76+
const extraOffset = this.props.hideNavigation ? 3 * 16 : 6 * 16;
7777
window.parent.postMessage(
7878
JSON.stringify({
7979
src: window.location.toString(),

0 commit comments

Comments
 (0)