Skip to content

Commit 2f9c6db

Browse files
author
Ives van Hoorne
committed
Add 16px leeway for embed heights
1 parent ef646d4 commit 2f9c6db

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
@@ -74,7 +74,7 @@ export default class Content extends React.PureComponent {
7474
};
7575

7676
handleResize = (height: number = 500) => {
77-
const extraOffset = this.props.hideNavigation ? 3 * 16 : 6 * 16;
77+
const extraOffset = (this.props.hideNavigation ? 3 * 16 : 6 * 16) + 16;
7878
if (this.props.autoResize) {
7979
window.parent.postMessage(
8080
JSON.stringify({

0 commit comments

Comments
 (0)