Skip to content

Commit 25fbc58

Browse files
committed
Fix EmbedFallback screenshot size on mobile
1 parent 4bc19e6 commit 25fbc58

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

components/ContentRenderer/components/EmbedFallback.module.scss

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
margin: $spacing-4 0;
44
}
55

6+
.image {
7+
width: 100%;
8+
}
9+
610
.container {
711
display: flex;
812
flex-direction: column;

components/ContentRenderer/components/EmbedFallback.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function EmbedFallback({ node }: Props) {
2222
return (
2323
<NextLink className={styles.imageFallback} href={node.url} target="__blank">
2424
<img
25+
className={styles.image}
2526
src={node.oembed.screenshot_url}
2627
alt={node.oembed.title || node.oembed.description || ''}
2728
/>

0 commit comments

Comments
 (0)