diff --git a/app/lish/[did]/[publication]/[rkey]/PostContent.tsx b/app/lish/[did]/[publication]/[rkey]/PostContent.tsx index 508916e8..f7b39074 100644 --- a/app/lish/[did]/[publication]/[rkey]/PostContent.tsx +++ b/app/lish/[did]/[publication]/[rkey]/PostContent.tsx @@ -209,6 +209,7 @@ export let Block = ({ ); @@ -491,6 +492,7 @@ export let Block = ({ function PublishedIframeBlock(props: { url: string; height?: number; + aspectRatio?: PubLeafletBlocksIframe.AspectRatio; pageId?: string; }) { let parentPage = props.pageId @@ -518,12 +520,15 @@ function PublishedIframeBlock(props: { ); + let aspectRatio = props.aspectRatio + ? `${props.aspectRatio.width}/${props.aspectRatio.height}` + : undefined; + return (