🐛 (lp) Fix image size in blog on mobile

Closes #1605
This commit is contained in:
Baptiste Arnaud
2024-06-24 15:40:24 +02:00
parent 7790cf4f27
commit 80da7af4f1
3 changed files with 10 additions and 3 deletions

View File

@@ -64,7 +64,11 @@ export const Post = ({ metadata, mdxSource }: Props) => (
link: (props: any) => <Link {...props} />,
Image: (props) => (
<Image
style={{ borderRadius: '.5rem', ...props.style }}
style={{
borderRadius: '.5rem',
maxWidth: '100%',
...props.style,
}}
{...props}
/>
),