adjust maxWidth for iphone web embed

This commit is contained in:
Satindar Dhillon
2022-06-03 09:29:07 -07:00
parent 4e60a2d878
commit e0372bfc5a

View File

@ -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(),