From e0372bfc5a1b27bf29cf8c3e63c5466d79fc7699 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Fri, 3 Jun 2022 09:29:07 -0700 Subject: [PATCH] adjust maxWidth for iphone web embed --- packages/web/components/templates/article/ArticleContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/components/templates/article/ArticleContainer.tsx b/packages/web/components/templates/article/ArticleContainer.tsx index 44d79d58c..95282de0f 100644 --- a/packages/web/components/templates/article/ArticleContainer.tsx +++ b/packages/web/components/templates/article/ArticleContainer.tsx @@ -173,7 +173,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element { id="article-container" css={{ padding: '16px', - maxWidth: '100%', + maxWidth: props.isAppleAppEmbed ? 1024 - styles.margin : '100%', background: props.isAppleAppEmbed ? 'unset' : theme.colors.grayBg.toString(),