Skip to content

Commit

Permalink
🐛 (lp) Fix image size in blog on mobile
Browse files Browse the repository at this point in the history
Closes #1605
  • Loading branch information
baptisteArno committed Jun 24, 2024
1 parent 7790cf4 commit 80da7af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ee/apps/landing-page/app/blog/[slug]/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
),
Expand Down
4 changes: 4 additions & 0 deletions ee/apps/landing-page/assets/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@
.prose > *:not(img) {
width: 100%;
}

.prose > iframe {
border-radius: 0.5rem;
}
3 changes: 1 addition & 2 deletions ee/apps/landing-page/content/best-whatsapp-chatbot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ While Typebot's free plan is generous, it does lack some advanced features like
src="https://cards.producthunt.com/cards/reviews/627368?v="
width="500"
height="405"
frameborder="0"
></iframe>
/>

<Cta />

Expand Down

0 comments on commit 80da7af

Please sign in to comment.